Message ID | 20211230174911.78291-10-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> > > 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@huawei.com> > Cc: Andreas Klinger <ak@it-klinger.de> > --- Reviewed-by: Gwendal Grignou <gwendal@chromium.org> > drivers/iio/proximity/srf08.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c > index 9b0886760f76..ac1ab7e89d4e 100644 > --- a/drivers/iio/proximity/srf08.c > +++ b/drivers/iio/proximity/srf08.c > @@ -528,9 +528,9 @@ static int srf08_probe(struct i2c_client *client, > } > > static const struct of_device_id of_srf08_match[] = { > - { .compatible = "devantech,srf02", (void *)SRF02}, > - { .compatible = "devantech,srf08", (void *)SRF08}, > - { .compatible = "devantech,srf10", (void *)SRF10}, > + { .compatible = "devantech,srf02", (void *)SRF02 }, > + { .compatible = "devantech,srf08", (void *)SRF08 }, > + { .compatible = "devantech,srf10", (void *)SRF10 }, > {}, > }; > > -- > 2.34.1 >
diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c index 9b0886760f76..ac1ab7e89d4e 100644 --- a/drivers/iio/proximity/srf08.c +++ b/drivers/iio/proximity/srf08.c @@ -528,9 +528,9 @@ static int srf08_probe(struct i2c_client *client, } static const struct of_device_id of_srf08_match[] = { - { .compatible = "devantech,srf02", (void *)SRF02}, - { .compatible = "devantech,srf08", (void *)SRF08}, - { .compatible = "devantech,srf10", (void *)SRF10}, + { .compatible = "devantech,srf02", (void *)SRF02 }, + { .compatible = "devantech,srf08", (void *)SRF08 }, + { .compatible = "devantech,srf10", (void *)SRF10 }, {}, };