Re: [PATCH 11/16] iio:adc:mt6577_auxadc: Tidy up white space 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>
>
> Previously inconsistent with space after { and not before }.
> Tidy that up to avoid providing a bad example to copy into new drivers.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Cc: Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx>
> Cc: Hui Liu <hui.liu@xxxxxxxxxxxx>
> ---
Reviewed-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
>  drivers/iio/adc/mt6577_auxadc.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
> index d4fccd52ef08..327fff96c6c8 100644
> --- a/drivers/iio/adc/mt6577_auxadc.c
> +++ b/drivers/iio/adc/mt6577_auxadc.c
> @@ -330,11 +330,11 @@ static SIMPLE_DEV_PM_OPS(mt6577_auxadc_pm_ops,
>                          mt6577_auxadc_resume);
>
>  static const struct of_device_id mt6577_auxadc_of_match[] = {
> -       { .compatible = "mediatek,mt2701-auxadc", .data = &mt8173_compat},
> -       { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
> -       { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
> -       { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
> -       { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
> +       { .compatible = "mediatek,mt2701-auxadc", .data = &mt8173_compat },
> +       { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat },
> +       { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat },
> +       { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat },
> +       { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat },
>         { }
>  };
>  MODULE_DEVICE_TABLE(of, mt6577_auxadc_of_match);
> --
> 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