[PATCH] IIO: accel: kxsd9-spi: changed leading spaces to tabs

Paul Lemmermann posted 1 patch 4 years, 2 months ago
drivers/iio/accel/kxsd9-spi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] IIO: accel: kxsd9-spi: changed leading spaces to tabs
Posted by Paul Lemmermann 4 years, 2 months ago
Changed the leading spaces to tabs, in accordance with kernel coding
conventions, and removed trailing comma.

Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
---
 drivers/iio/accel/kxsd9-spi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iio/accel/kxsd9-spi.c b/drivers/iio/accel/kxsd9-spi.c
index ec17e35e5..b7b5af454 100644
--- a/drivers/iio/accel/kxsd9-spi.c
+++ b/drivers/iio/accel/kxsd9-spi.c
@@ -44,8 +44,8 @@ static const struct spi_device_id kxsd9_spi_id[] = {
 MODULE_DEVICE_TABLE(spi, kxsd9_spi_id);
 
 static const struct of_device_id kxsd9_of_match[] = {
-        { .compatible = "kionix,kxsd9" },
-        { },
+	{ .compatible = "kionix,kxsd9" },
+	{ }
 };
 MODULE_DEVICE_TABLE(of, kxsd9_of_match);
 
-- 
2.35.1
Re: [PATCH] IIO: accel: kxsd9-spi: changed leading spaces to tabs
Posted by Jonathan Cameron 4 years, 2 months ago
On Mon, 28 Mar 2022 16:23:03 -0500
Paul Lemmermann <thepaulodoom@thepaulodoom.com> wrote:

> Changed the leading spaces to tabs, in accordance with kernel coding
> conventions, and removed trailing comma.
> 
> Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
Applied to the togreg branch of iio.git and pushed out as testing to let
0-day take a look at it and see what it thinks.  Note I'll also be
rebasing that tree after rc1 is out.

Thanks,

Jonathan
> ---
>  drivers/iio/accel/kxsd9-spi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/accel/kxsd9-spi.c b/drivers/iio/accel/kxsd9-spi.c
> index ec17e35e5..b7b5af454 100644
> --- a/drivers/iio/accel/kxsd9-spi.c
> +++ b/drivers/iio/accel/kxsd9-spi.c
> @@ -44,8 +44,8 @@ static const struct spi_device_id kxsd9_spi_id[] = {
>  MODULE_DEVICE_TABLE(spi, kxsd9_spi_id);
>  
>  static const struct of_device_id kxsd9_of_match[] = {
> -        { .compatible = "kionix,kxsd9" },
> -        { },
> +	{ .compatible = "kionix,kxsd9" },
> +	{ }
>  };
>  MODULE_DEVICE_TABLE(of, kxsd9_of_match);
>