summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-07-23 22:21:12 +0200
committerGuenter Roeck <linux@roeck-us.net>2024-08-30 17:34:23 +0200
commit9e60bb811f582a13a1f8346675f270db7e48404c (patch)
tree279357d8ef8f164735e1b1acde81e819ead2a43e /drivers/hwmon
parentdt-bindings: hwmon: Convert ltc2978.txt to yaml (diff)
downloadlinux-9e60bb811f582a13a1f8346675f270db7e48404c.tar.xz
linux-9e60bb811f582a13a1f8346675f270db7e48404c.zip
hwmon: (ina2xx) Reorder include files to alphabetic order
Simplify driver maintenance by reordering include files to alphabetic order. Whule at it, drop unnecessary / unused jiffies.h. No functional change. Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/ina2xx.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/hwmon/ina2xx.c b/drivers/hwmon/ina2xx.c
index 9ab4205622e2..a6a619a85eb6 100644
--- a/drivers/hwmon/ina2xx.c
+++ b/drivers/hwmon/ina2xx.c
@@ -22,19 +22,18 @@
* Thanks to Jan Volkering
*/
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/init.h>
+#include <linux/delay.h>
#include <linux/err.h>
-#include <linux/slab.h>
-#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
-#include <linux/jiffies.h>
+#include <linux/i2c.h>
+#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/of.h>
-#include <linux/delay.h>
-#include <linux/util_macros.h>
#include <linux/regmap.h>
+#include <linux/slab.h>
+#include <linux/util_macros.h>
#include <linux/platform_data/ina2xx.h>