[PATCH v3 2/3] i2c: mux: gpio: Re-order #include to match alphabetic order

Bastien Curutchet posted 3 patches 1 year, 7 months ago
[PATCH v3 2/3] i2c: mux: gpio: Re-order #include to match alphabetic order
Posted by Bastien Curutchet 1 year, 7 months ago
The #includes don't match alphabetic order.

Re-order #includes to match the alphabetic order before adding a new
one.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
---
 drivers/i2c/muxes/i2c-mux-gpio.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c
index d6bbb8b68333..c61e9d9ea695 100644
--- a/drivers/i2c/muxes/i2c-mux-gpio.c
+++ b/drivers/i2c/muxes/i2c-mux-gpio.c
@@ -5,16 +5,16 @@
  * Peter Korsgaard <peter.korsgaard@barco.com>
  */
 
+#include <linux/bits.h>
+#include <linux/gpio/consumer.h>
+#include <linux/gpio/driver.h>
 #include <linux/i2c.h>
 #include <linux/i2c-mux.h>
+#include <linux/module.h>
 #include <linux/overflow.h>
 #include <linux/platform_data/i2c-mux-gpio.h>
 #include <linux/platform_device.h>
-#include <linux/module.h>
 #include <linux/slab.h>
-#include <linux/bits.h>
-#include <linux/gpio/consumer.h>
-#include <linux/gpio/driver.h>
 
 struct gpiomux {
 	struct i2c_mux_gpio_platform_data data;
-- 
2.45.0
Re: [PATCH v3 2/3] i2c: mux: gpio: Re-order #include to match alphabetic order
Posted by Peter Rosin 1 year, 7 months ago
2024-06-17 at 14:08, Bastien Curutchet wrote:
> The #includes don't match alphabetic order.
> 
> Re-order #includes to match the alphabetic order before adding a new
> one.
> 
> Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>

Acked-by: Peter Rosin <peda@axentia.se>

Cheers,
Peter
Re: [PATCH v3 2/3] i2c: mux: gpio: Re-order #include to match alphabetic order
Posted by Andi Shyti 1 year, 7 months ago
Hi,

On Mon, Jun 17, 2024 at 02:08:17PM GMT, Bastien Curutchet wrote:
> The #includes don't match alphabetic order.
> 
> Re-order #includes to match the alphabetic order before adding a new
> one.
> 
> Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>

Reviewed-by: Andi Shyti <andi.shyti@kernel.org>

Thanks,
Andi