diff mbox series

[02/16] iio:light:pa12203001: Tidy up white space change to add spaces after { and before }

Message ID 20211230174911.78291-3-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>

One case in here was inconsistent and was main focus of this patch.
In that case there was a space after the { and none before the }.
The second case was then inconsistent in having now spaces.
Change makes sure there are spaces.

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

Comments

Gwendal Grignou Dec. 31, 2021, 5:45 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>
>
> One case in here was inconsistent and was main focus of this patch.
> In that case there was a space after the { and none before the }.
> The second case was then inconsistent in having now spaces.
> Change makes sure there are spaces.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
>  drivers/iio/light/pa12203001.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/light/pa12203001.c b/drivers/iio/light/pa12203001.c
> index a52b2c788540..528fa5dd2b13 100644
> --- a/drivers/iio/light/pa12203001.c
> +++ b/drivers/iio/light/pa12203001.c
> @@ -452,14 +452,14 @@ static const struct dev_pm_ops pa12203001_pm_ops = {
>  };
>
>  static const struct acpi_device_id pa12203001_acpi_match[] = {
> -       { "TXCPA122", 0},
> +       { "TXCPA122", 0 },
>         {}
>  };
>
>  MODULE_DEVICE_TABLE(acpi, pa12203001_acpi_match);
>
>  static const struct i2c_device_id pa12203001_id[] = {
> -               {"txcpa122", 0},
> +               { "txcpa122", 0 },
>                 {}
>  };
>
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/iio/light/pa12203001.c b/drivers/iio/light/pa12203001.c
index a52b2c788540..528fa5dd2b13 100644
--- a/drivers/iio/light/pa12203001.c
+++ b/drivers/iio/light/pa12203001.c
@@ -452,14 +452,14 @@  static const struct dev_pm_ops pa12203001_pm_ops = {
 };
 
 static const struct acpi_device_id pa12203001_acpi_match[] = {
-	{ "TXCPA122", 0},
+	{ "TXCPA122", 0 },
 	{}
 };
 
 MODULE_DEVICE_TABLE(acpi, pa12203001_acpi_match);
 
 static const struct i2c_device_id pa12203001_id[] = {
-		{"txcpa122", 0},
+		{ "txcpa122", 0 },
 		{}
 };