summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/hwmon.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-07-10 18:43:21 +0200
committerGuenter Roeck <linux@roeck-us.net>2016-09-09 06:34:15 +0200
commitc9ebbe6f23f43f4520d9e3c4fe1384963848088e (patch)
tree04da9916b2dc0eb0fb1037bbaa6e24c503aee1b3 /drivers/hwmon/hwmon.c
parenthwmon: (ntc_thermistor) Use devm_hwmon_device_register_with_groups (diff)
downloadlinux-c9ebbe6f23f43f4520d9e3c4fe1384963848088e.tar.xz
linux-c9ebbe6f23f43f4520d9e3c4fe1384963848088e.zip
hwmon: (core) Order include files alphabetically
Ordering include files alphabetically makes it easier to add new ones. Stop including linux/spinlock.h and linux/kdev_t.h since both are not needed. Reviewed-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/hwmon.c')
-rw-r--r--drivers/hwmon/hwmon.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/hwmon/hwmon.c b/drivers/hwmon/hwmon.c
index a26c385a435b..649a68d119b4 100644
--- a/drivers/hwmon/hwmon.c
+++ b/drivers/hwmon/hwmon.c
@@ -12,16 +12,14 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-#include <linux/module.h>
#include <linux/device.h>
#include <linux/err.h>
-#include <linux/slab.h>
-#include <linux/kdev_t.h>
-#include <linux/idr.h>
-#include <linux/hwmon.h>
#include <linux/gfp.h>
-#include <linux/spinlock.h>
+#include <linux/hwmon.h>
+#include <linux/idr.h>
+#include <linux/module.h>
#include <linux/pci.h>
+#include <linux/slab.h>
#include <linux/string.h>
#define HWMON_ID_PREFIX "hwmon"