From: Karl Mehltretter Date: Sun, 8 May 2022 14:46:01 +0000 (+0200) Subject: hwmon: (lm83) Remove unused include directives X-Git-Tag: v6.1-rc5~1306^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=512a4da1d9f55d9e3be87b2ea6d0a51ef342e764;p=platform%2Fkernel%2Flinux-starfive.git hwmon: (lm83) Remove unused include directives Some include directives are no longer necessary due to previous driver changes. Remove them now to further improve driver code clarity. Mutex usage has ceased since commit 719af4f1a40b ("hwmon: (lm83) Use regmap"). Ever since commit a0ac840d99fa ("hwmon: (lm83) Convert to use devm_hwmon_device_register_with_groups") functions sysfs_create_group and sysfs_remove_group are no longer used by the driver. Signed-off-by: Karl Mehltretter Link: https://lore.kernel.org/r/20220508144601.22796-1-kmehltretter@gmail.com Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c index 12370dc..905f568 100644 --- a/drivers/hwmon/lm83.c +++ b/drivers/hwmon/lm83.c @@ -24,10 +24,8 @@ #include #include #include -#include #include #include -#include /* * Addresses to scan