summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/amc6821.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-06-27 17:27:53 +0200
committerGuenter Roeck <linux@roeck-us.net>2024-07-08 16:52:36 +0200
commite5cd7dd9a4e6e0692938e00fb43f14fb4711c17b (patch)
tree3763117035af6390d1e0253fa028fb7a36075672 /drivers/hwmon/amc6821.c
parenthwmon: (amc6821) Add support for fan1_target and pwm1_enable mode 4 (diff)
downloadlinux-e5cd7dd9a4e6e0692938e00fb43f14fb4711c17b.tar.xz
linux-e5cd7dd9a4e6e0692938e00fb43f14fb4711c17b.zip
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 <quentin.schulz@cherry.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/amc6821.c')
-rw-r--r--drivers/hwmon/amc6821.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/hwmon/amc6821.c b/drivers/hwmon/amc6821.c
index 9e9a70afbfd4..8869dbe5a733 100644
--- a/drivers/hwmon/amc6821.c
+++ b/drivers/hwmon/amc6821.c
@@ -8,16 +8,15 @@
* Copyright (C) 2007 Hans J. Koch <hjk@hansjkoch.de>
*/
-#include <linux/kernel.h> /* Needed for KERN_INFO */
-#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/slab.h>
-#include <linux/jiffies.h>
-#include <linux/i2c.h>
+#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
-#include <linux/err.h>
+#include <linux/i2c.h>
+#include <linux/init.h>
+#include <linux/jiffies.h>
+#include <linux/module.h>
#include <linux/mutex.h>
+#include <linux/slab.h>
/*
* Addresses to scan.