diff mbox series

IIO: accel: kxsd9-spi: changed leading spaces to tabs

Message ID YkInN6SL7pP2f5Sf@hp-amd-paul (mailing list archive)
State Accepted
Headers show
Series IIO: accel: kxsd9-spi: changed leading spaces to tabs | expand

Commit Message

Paul Lemmermann March 28, 2022, 9:23 p.m. UTC
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(-)

Comments

Jonathan Cameron April 2, 2022, 4:29 p.m. UTC | #1
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);
>
diff mbox series

Patch

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