Re: [PATCH 08/16] iio:proximity:srf04: 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/srf04.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/iio/proximity/srf04.c b/drivers/iio/proximity/srf04.c
> index fe88b2bb60bc..4e6286765f01 100644
> --- a/drivers/iio/proximity/srf04.c
> +++ b/drivers/iio/proximity/srf04.c
> @@ -235,12 +235,12 @@ static const struct iio_chan_spec srf04_chan_spec[] = {
>  };
>
>  static const struct of_device_id of_srf04_match[] = {
> -       { .compatible = "devantech,srf04", .data = &srf04_cfg},
> -       { .compatible = "maxbotix,mb1000", .data = &mb_lv_cfg},
> -       { .compatible = "maxbotix,mb1010", .data = &mb_lv_cfg},
> -       { .compatible = "maxbotix,mb1020", .data = &mb_lv_cfg},
> -       { .compatible = "maxbotix,mb1030", .data = &mb_lv_cfg},
> -       { .compatible = "maxbotix,mb1040", .data = &mb_lv_cfg},
> +       { .compatible = "devantech,srf04", .data = &srf04_cfg },
> +       { .compatible = "maxbotix,mb1000", .data = &mb_lv_cfg },
> +       { .compatible = "maxbotix,mb1010", .data = &mb_lv_cfg },
> +       { .compatible = "maxbotix,mb1020", .data = &mb_lv_cfg },
> +       { .compatible = "maxbotix,mb1030", .data = &mb_lv_cfg },
> +       { .compatible = "maxbotix,mb1040", .data = &mb_lv_cfg },
>         {},
>  };
>
> --
> 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