Re: [PATCH 09/16] iio:proximity:srf08: White space cleanup of spacing around {} in id tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 30, 2021 at 9:44 AM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
>
> The spacing in this driver was inconsistent with a space after the {
> but not before the }.  Tidy this up to avoid providing a bad example
> to copy into new drivers.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Cc: Andreas Klinger <ak@xxxxxxxxxxxxx>
> ---
Reviewed-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
>  drivers/iio/proximity/srf08.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c
> index 9b0886760f76..ac1ab7e89d4e 100644
> --- a/drivers/iio/proximity/srf08.c
> +++ b/drivers/iio/proximity/srf08.c
> @@ -528,9 +528,9 @@ static int srf08_probe(struct i2c_client *client,
>  }
>
>  static const struct of_device_id of_srf08_match[] = {
> -       { .compatible = "devantech,srf02", (void *)SRF02},
> -       { .compatible = "devantech,srf08", (void *)SRF08},
> -       { .compatible = "devantech,srf10", (void *)SRF10},
> +       { .compatible = "devantech,srf02", (void *)SRF02 },
> +       { .compatible = "devantech,srf08", (void *)SRF08 },
> +       { .compatible = "devantech,srf10", (void *)SRF10 },
>         {},
>  };
>
> --
> 2.34.1
>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux