[v2] iio: adxl372_spi: change indentation for of_table
diff mbox series

Message ID 20200722072546.65742-1-alexandru.ardelean@analog.com
State New
Headers show
Series
  • [v2] iio: adxl372_spi: change indentation for of_table
Related show

Commit Message

Alexandru Ardelean July 22, 2020, 7:25 a.m. UTC
The change is mostly stylistic. The table should be indented with tabs
instead of spaces.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
---

Changelog v1 -> v2:
* remove trailing comma at null terminator

 drivers/iio/accel/adxl372_spi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jonathan Cameron July 26, 2020, 12:30 p.m. UTC | #1
On Wed, 22 Jul 2020 10:25:46 +0300
Alexandru Ardelean <alexandru.ardelean@analog.com> wrote:

> The change is mostly stylistic. The table should be indented with tabs
> instead of spaces.
> 
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
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);
>

Patch
diff mbox series

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);