Re: [PATCH 06/16] iio:proximity:ping: 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 so make sure we have a space
> after { and before } for the two id tables.
> Avoid providing examples of this inconsistency that get copied 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/ping.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/proximity/ping.c b/drivers/iio/proximity/ping.c
> index 1283ac1c2e03..24a97d41e115 100644
> --- a/drivers/iio/proximity/ping.c
> +++ b/drivers/iio/proximity/ping.c
> @@ -267,8 +267,8 @@ static const struct iio_chan_spec ping_chan_spec[] = {
>  };
>
>  static const struct of_device_id of_ping_match[] = {
> -       { .compatible = "parallax,ping", .data = &pa_ping_cfg},
> -       { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg},
> +       { .compatible = "parallax,ping", .data = &pa_ping_cfg },
> +       { .compatible = "parallax,laserping", .data = &pa_laser_ping_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