diff options
author | Karl Mehltretter <kmehltretter@gmail.com> | 2022-05-08 16:46:01 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-05-22 11:32:31 -0700 |
commit | 512a4da1d9f55d9e3be87b2ea6d0a51ef342e764 (patch) | |
tree | a63b0f3664bbe091168a322ae57afa819a4c9c70 /drivers/hwmon/lm83.c | |
parent | 28bf22ef93eceb42c7583f0909bc9dedc07770e3 (diff) | |
download | linux-512a4da1d9f55d9e3be87b2ea6d0a51ef342e764.tar.gz linux-512a4da1d9f55d9e3be87b2ea6d0a51ef342e764.tar.bz2 linux-512a4da1d9f55d9e3be87b2ea6d0a51ef342e764.zip |
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 <kmehltretter@gmail.com>
Link: https://lore.kernel.org/r/20220508144601.22796-1-kmehltretter@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm83.c')
-rw-r--r-- | drivers/hwmon/lm83.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c index 12370dcefa6a..905f5689f907 100644 --- a/drivers/hwmon/lm83.c +++ b/drivers/hwmon/lm83.c @@ -24,10 +24,8 @@ #include <linux/init.h> #include <linux/hwmon.h> #include <linux/module.h> -#include <linux/mutex.h> #include <linux/regmap.h> #include <linux/slab.h> -#include <linux/sysfs.h> /* * Addresses to scan |