Re: [PATCH 1/2] drivers: iio: pressure: Sort headers of BMPxxx SPI driver

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

 



On Tue, 20 Feb 2024 23:43:28 +0100
Vasileios Amoiridis <vassilisamir@xxxxxxxxx> wrote:

> Alphabetical sorting and separation of headers for the BMPxxx
> SPI driver.
> 
> Signed-off-by: Vasileios Amoiridis <vassilisamir@xxxxxxxxx>

Hi Vasileios,

No. This ends up as a dependency of the fix which will want backporting.
This would make it a non minimal change. As such the reordering comes
after the other patch (and not until it is upstream).

All that needed to happen was bits.h being first of the includes in the
fixes patch so that a sort later was minimal.  Doing that had no impact
on the complexity of the fix to backport so was just good code hygiene
in that would simplify the resort to follow.

Anyhow, dropping this for now.  Please send an update version
next cycle once the fix is upstream

Thanks,

Jonathan

> ---
>  drivers/iio/pressure/bmp280-spi.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/pressure/bmp280-spi.c b/drivers/iio/pressure/bmp280-spi.c
> index e8a5fed07e88..fd7ec6a5bca3 100644
> --- a/drivers/iio/pressure/bmp280-spi.c
> +++ b/drivers/iio/pressure/bmp280-spi.c
> @@ -4,11 +4,12 @@
>   *
>   * Inspired by the older BMP085 driver drivers/misc/bmp085-spi.c
>   */
> -#include <linux/module.h>
> -#include <linux/spi/spi.h>
>  #include <linux/err.h>
> +#include <linux/module.h>
>  #include <linux/regmap.h>
>  
> +#include <linux/spi/spi.h>
> +
>  #include "bmp280.h"
>  
>  static int bmp280_regmap_spi_write(void *context, const void *data,





[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