Re: [PATCH 1/4] iio: pressure: BMP280 core driver headers sorting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 03, 2024 at 05:52:57PM +0100, Vasileios Amoiridis wrote:
> Sort headers in alphabetical order.

...

>  #include <linux/bitops.h>
>  #include <linux/bitfield.h>
> -#include <linux/device.h>
> -#include <linux/module.h>
> -#include <linux/nvmem-provider.h>
> -#include <linux/regmap.h>
> +#include <linux/completion.h>
>  #include <linux/delay.h>
> +#include <linux/device.h>
> +#include <linux/gpio/consumer.h>

>  #include <linux/iio/iio.h>
>  #include <linux/iio/sysfs.h>

(see below)

> -#include <linux/gpio/consumer.h>
> -#include <linux/regulator/consumer.h>
>  #include <linux/interrupt.h>
>  #include <linux/irq.h> /* For irq_get_irq_data() */
> -#include <linux/completion.h>
> +#include <linux/module.h>
> +#include <linux/nvmem-provider.h>
>  #include <linux/pm_runtime.h>
>  #include <linux/random.h>
> +#include <linux/regmap.h>
> +#include <linux/regulator/consumer.h>

While at it, please, move iio/* group to be here (and surrounded by
blank lines).

>  #include <asm/unaligned.h>

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux