Message ID | 20200722072546.65742-1-alexandru.ardelean@analog.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] iio: adxl372_spi: change indentation for of_table | expand |
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); >
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);
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(-)