Skip to contentSkip to conversation

can: dev: sort includes by alphabetical order

PATCH New Vincent Mailhol 1 participant 1 message Aug 30, 2025 CAN network drivers

lore
Share & tools
lore

Vincent Mailhol

author maintainer
#0 lore raw

PATCH 1/1 can: dev: sort includes by alphabetical order

Includes are out of order in

drivers/net/can/dev/dev.c

Sort them by alphabetical order.

---
This patch used to be in my preparation series for CAN XL, but, after some refactoring, is not needed any more. So this patch became an orphan.

But instead of putting it in the trash can, it is still better to send as a standalone. That will be one thing less that we will have to take care about in the future.

---
 drivers/net/can/dev/dev.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/net/can/dev/dev.c +5 -5
index 3913971125de..99b78cbb2252 100644
@@ -4,17 +4,17 @@
  * Copyright (C) 2008-2009 Wolfgang Grandegger <[email protected]>
  */
 
-#include <linux/kernel.h>
-#include <linux/slab.h>
-#include <linux/netdevice.h>
-#include <linux/if_arp.h>
-#include <linux/workqueue.h>
 #include <linux/can.h>
 #include <linux/can/can-ml.h>
 #include <linux/can/dev.h>
 #include <linux/can/skb.h>
 #include <linux/gpio/consumer.h>
+#include <linux/if_arp.h>
+#include <linux/kernel.h>
+#include <linux/netdevice.h>
 #include <linux/of.h>
+#include <linux/slab.h>
+#include <linux/workqueue.h>
 
 static void can_update_state_error_stats(struct net_device *dev,
 					 enum can_state new_state)
Signature · 1 line
2.49.1