Re: [PATCH v2] iio: adxl372_spi: change indentation for of_table

From: Jonathan Cameron
Date: Sun Jul 26 2020 - 08:30:11 EST


On Wed, 22 Jul 2020 10:25:46 +0300
Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> wrote:

> The change is mostly stylistic. The table should be indented with tabs
> instead of spaces.
>
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>
Applied

> ---
>
> Changelog v1 -> v2:
> * remove trailing comma at null terminator
>
> drivers/iio/accel/adxl372_spi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/accel/adxl372_spi.c b/drivers/iio/accel/adxl372_spi.c
> index 3ef7e3a4804e..1f1352fee99a 100644
> --- a/drivers/iio/accel/adxl372_spi.c
> +++ b/drivers/iio/accel/adxl372_spi.c
> @@ -40,8 +40,8 @@ static const struct spi_device_id adxl372_spi_id[] = {
> MODULE_DEVICE_TABLE(spi, adxl372_spi_id);
>
> static const struct of_device_id adxl372_of_match[] = {
> - { .compatible = "adi,adxl372" },
> - { },
> + { .compatible = "adi,adxl372" },
> + { }
> };
> MODULE_DEVICE_TABLE(of, adxl372_of_match);
>