summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-07-10 12:43:21 -0400
committerGuenter Roeck <linux@roeck-us.net>2016-09-09 00:34:15 -0400
commitc9ebbe6f23f43f4520d9e3c4fe1384963848088e (patch)
tree04da9916b2dc0eb0fb1037bbaa6e24c503aee1b3 /drivers/hwmon
parent5e7f5994bdddfb8ddcf08c23638b3ec00c8984bc (diff)
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')
-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 @@
12 12
13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
14 14
15#include <linux/module.h>
16#include <linux/device.h> 15#include <linux/device.h>
17#include <linux/err.h> 16#include <linux/err.h>
18#include <linux/slab.h>
19#include <linux/kdev_t.h>
20#include <linux/idr.h>
21#include <linux/hwmon.h>
22#include <linux/gfp.h> 17#include <linux/gfp.h>
23#include <linux/spinlock.h> 18#include <linux/hwmon.h>
19#include <linux/idr.h>
20#include <linux/module.h>
24#include <linux/pci.h> 21#include <linux/pci.h>
22#include <linux/slab.h>
25#include <linux/string.h> 23#include <linux/string.h>
26 24
27#define HWMON_ID_PREFIX "hwmon" 25#define HWMON_ID_PREFIX "hwmon"