summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-09 15:07:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-10 18:27:49 +0100
commit927bdd1e65bd14ae035d9c625df2f4ccd51e8a83 (patch)
treebc8d0d8b880bb913d1e91b2d2411e42d2d4b33fc /include/linux/device.h
parentbe7e8b917ead54754cc14b6c03769c8738a3f3f3 (diff)
downloadlinux-927bdd1e65bd14ae035d9c625df2f4ccd51e8a83.tar.bz2
driver core: remove devm_device_remove_groups()
There is no in-kernel user of this function, so it is not needed anymore and can be removed. Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Rafael J. Wysocki <rafael@kernel.org> Link: https://lore.kernel.org/r/20221109140711.105222-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 023ea50b1916..4efc607c008c 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -1062,8 +1062,6 @@ static inline void device_remove_group(struct device *dev,
int __must_check devm_device_add_groups(struct device *dev,
const struct attribute_group **groups);
-void devm_device_remove_groups(struct device *dev,
- const struct attribute_group **groups);
int __must_check devm_device_add_group(struct device *dev,
const struct attribute_group *grp);
void devm_device_remove_group(struct device *dev,