diff mbox series

[04/16] iio:light:us5182: White space cleanup of spacing around {} in id tables

Message ID 20211230174911.78291-5-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:48 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

The spacing in this driver was inconsistent so make sure we have a space
after { and before } for the two id tables.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/light/us5182d.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Gwendal Grignou Dec. 31, 2021, 5:47 a.m. UTC | #1
On Thu, Dec 30, 2021 at 9:43 AM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> The spacing in this driver was inconsistent so make sure we have a space
> after { and before } for the two id tables.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
>  drivers/iio/light/us5182d.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c
> index 96e4a66ddf28..1492aaf8d84c 100644
> --- a/drivers/iio/light/us5182d.c
> +++ b/drivers/iio/light/us5182d.c
> @@ -947,15 +947,15 @@ static const struct dev_pm_ops us5182d_pm_ops = {
>  };
>
>  static const struct acpi_device_id us5182d_acpi_match[] = {
> -       { "USD5182", 0},
> +       { "USD5182", 0 },
>         {}
>  };
>
>  MODULE_DEVICE_TABLE(acpi, us5182d_acpi_match);
>
>  static const struct i2c_device_id us5182d_id[] = {
> -               {"usd5182", 0},
> -               {}
> +       { "usd5182", 0 },
> +       {}
>  };
>
>  MODULE_DEVICE_TABLE(i2c, us5182d_id);
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c
index 96e4a66ddf28..1492aaf8d84c 100644
--- a/drivers/iio/light/us5182d.c
+++ b/drivers/iio/light/us5182d.c
@@ -947,15 +947,15 @@  static const struct dev_pm_ops us5182d_pm_ops = {
 };
 
 static const struct acpi_device_id us5182d_acpi_match[] = {
-	{ "USD5182", 0},
+	{ "USD5182", 0 },
 	{}
 };
 
 MODULE_DEVICE_TABLE(acpi, us5182d_acpi_match);
 
 static const struct i2c_device_id us5182d_id[] = {
-		{"usd5182", 0},
-		{}
+	{ "usd5182", 0 },
+	{}
 };
 
 MODULE_DEVICE_TABLE(i2c, us5182d_id);