diff mbox series

[16/16] iio:accel:dmard09: Tidy up white space around {} in id table

Message ID 20211230174911.78291-17-jic23@kernel.org (mailing list archive)
State Accepted
Headers show
Series IIO: Tidy up inconsistent spacing in ID tables. | expand

Commit Message

Jonathan Cameron Dec. 30, 2021, 5:49 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Previously inconsistent with a space after { but not before }.
Tidy that up to avoid providing a bad example that might get
copied into other drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/accel/dmard09.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gwendal Grignou Dec. 31, 2021, 5:50 a.m. UTC | #1
On Thu, Dec 30, 2021 at 9:44 AM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> Previously inconsistent with a space after { but not before }.
> Tidy that up to avoid providing a bad example that might get
> copied into other drivers.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
>  drivers/iio/accel/dmard09.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c
> index e6e28c964777..53ab6078cb7f 100644
> --- a/drivers/iio/accel/dmard09.c
> +++ b/drivers/iio/accel/dmard09.c
> @@ -126,7 +126,7 @@ static int dmard09_probe(struct i2c_client *client,
>  }
>
>  static const struct i2c_device_id dmard09_id[] = {
> -       { "dmard09", 0},
> +       { "dmard09", 0 },
>         { },
>  };
>
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c
index e6e28c964777..53ab6078cb7f 100644
--- a/drivers/iio/accel/dmard09.c
+++ b/drivers/iio/accel/dmard09.c
@@ -126,7 +126,7 @@  static int dmard09_probe(struct i2c_client *client,
 }
 
 static const struct i2c_device_id dmard09_id[] = {
-	{ "dmard09", 0},
+	{ "dmard09", 0 },
 	{ },
 };