diff mbox series

[13/16] iio:adc:ti-adc084s021: Tidy up white space around {}

Message ID 20211230174911.78291-14-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 an example to copy into new drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Gwendal Grignou <gwendal@chromium.org>
---
 drivers/iio/adc/ti-adc084s021.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 an example to copy into new drivers.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Gwendal Grignou <gwendal@chromium.org>
> ---
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
>  drivers/iio/adc/ti-adc084s021.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/ti-adc084s021.c b/drivers/iio/adc/ti-adc084s021.c
> index ce3f5a3814f9..c9b5d9aec3dc 100644
> --- a/drivers/iio/adc/ti-adc084s021.c
> +++ b/drivers/iio/adc/ti-adc084s021.c
> @@ -248,7 +248,7 @@ static const struct of_device_id adc084s021_of_match[] = {
>  MODULE_DEVICE_TABLE(of, adc084s021_of_match);
>
>  static const struct spi_device_id adc084s021_id[] = {
> -       { ADC084S021_DRIVER_NAME, 0},
> +       { ADC084S021_DRIVER_NAME, 0 },
>         {}
>  };
>  MODULE_DEVICE_TABLE(spi, adc084s021_id);
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/iio/adc/ti-adc084s021.c b/drivers/iio/adc/ti-adc084s021.c
index ce3f5a3814f9..c9b5d9aec3dc 100644
--- a/drivers/iio/adc/ti-adc084s021.c
+++ b/drivers/iio/adc/ti-adc084s021.c
@@ -248,7 +248,7 @@  static const struct of_device_id adc084s021_of_match[] = {
 MODULE_DEVICE_TABLE(of, adc084s021_of_match);
 
 static const struct spi_device_id adc084s021_id[] = {
-	{ ADC084S021_DRIVER_NAME, 0},
+	{ ADC084S021_DRIVER_NAME, 0 },
 	{}
 };
 MODULE_DEVICE_TABLE(spi, adc084s021_id);