Message ID | 20211230174911.78291-12-jic23@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | IIO: Tidy up inconsistent spacing in ID tables. | expand |
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 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@huawei.com> > Cc: Zhiyong Tao <zhiyong.tao@mediatek.com> > Cc: Hui Liu <hui.liu@mediatek.com> > --- Reviewed-by: Gwendal Grignou <gwendal@chromium.org> > 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 >
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);