Skip to content

Commit e5cd7dd

Browse files
committed
hwmon: (amc6821) Reorder include files, drop unnecessary ones
Reorder include files to alphabetic order to simplify maintenance, and drop the unnecessary kernel.h include. No functional change intended. Reviewed-by: Quentin Schulz <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent becbd16 commit e5cd7dd

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

drivers/hwmon/amc6821.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@
88
* Copyright (C) 2007 Hans J. Koch <[email protected]>
99
*/
1010

11-
#include <linux/kernel.h> /* Needed for KERN_INFO */
12-
#include <linux/module.h>
13-
#include <linux/init.h>
14-
#include <linux/slab.h>
15-
#include <linux/jiffies.h>
16-
#include <linux/i2c.h>
11+
#include <linux/err.h>
1712
#include <linux/hwmon.h>
1813
#include <linux/hwmon-sysfs.h>
19-
#include <linux/err.h>
14+
#include <linux/i2c.h>
15+
#include <linux/init.h>
16+
#include <linux/jiffies.h>
17+
#include <linux/module.h>
2018
#include <linux/mutex.h>
19+
#include <linux/slab.h>
2120

2221
/*
2322
* Addresses to scan.

0 commit comments

Comments
 (0)