[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240224180412.0b23a105@jic23-huawei>
Date: Sat, 24 Feb 2024 18:04:12 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Vasileios Amoiridis <vassilisamir@...il.com>
Cc: lars@...afoo.de, ang.iglesiasg@...il.com,
andriy.shevchenko@...ux.intel.com, linus.walleij@...aro.org,
semen.protsenko@...aro.org, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] drivers: iio: pressure: Sort headers of BMPxxx SPI
driver
On Tue, 20 Feb 2024 23:43:28 +0100
Vasileios Amoiridis <vassilisamir@...il.com> wrote:
> Alphabetical sorting and separation of headers for the BMPxxx
> SPI driver.
>
> Signed-off-by: Vasileios Amoiridis <vassilisamir@...il.com>
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,
Powered by blists - more mailing lists