Message ID | 20211230174911.78291-13-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 { but 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> > --- Reviewed-by: Gwendal Grignou <gwendal@chromium.org> > drivers/iio/adc/hi8435.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/hi8435.c b/drivers/iio/adc/hi8435.c > index e665e14c6e54..8eb0140df133 100644 > --- a/drivers/iio/adc/hi8435.c > +++ b/drivers/iio/adc/hi8435.c > @@ -529,7 +529,7 @@ static const struct of_device_id hi8435_dt_ids[] = { > MODULE_DEVICE_TABLE(of, hi8435_dt_ids); > > static const struct spi_device_id hi8435_id[] = { > - { "hi8435", 0}, > + { "hi8435", 0 }, > { } > }; > MODULE_DEVICE_TABLE(spi, hi8435_id); > -- > 2.34.1 >
diff --git a/drivers/iio/adc/hi8435.c b/drivers/iio/adc/hi8435.c index e665e14c6e54..8eb0140df133 100644 --- a/drivers/iio/adc/hi8435.c +++ b/drivers/iio/adc/hi8435.c @@ -529,7 +529,7 @@ static const struct of_device_id hi8435_dt_ids[] = { MODULE_DEVICE_TABLE(of, hi8435_dt_ids); static const struct spi_device_id hi8435_id[] = { - { "hi8435", 0}, + { "hi8435", 0 }, { } }; MODULE_DEVICE_TABLE(spi, hi8435_id);