Changed the leading spaces to tabs, in accordance with kernel coding
conventions, and removed trailing comma.
Signed-off-by: Paul Lemmermann <[email protected]>
---
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
On Mon, 28 Mar 2022 16:23:03 -0500
Paul Lemmermann <[email protected]> wrote:
> Changed the leading spaces to tabs, in accordance with kernel coding
> conventions, and removed trailing comma.
>
> Signed-off-by: Paul Lemmermann <[email protected]>
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);
>