Message ID | 20211230174911.78291-4-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:43 AM Jonathan Cameron <jic23@kernel.org> wrote: > > From: Jonathan Cameron <Jonathan.Cameron@huawei.com> > > Having a space after the { and not one before the } is inconsistent and > I'd rather not have examples of this that get copied into new drivers. > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > Cc: Parthiban Nallathambi <pn@denx.de> > --- Reviewed-by: Gwendal Grignou <gwendal@chromium.org> > drivers/iio/light/vcnl4035.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/light/vcnl4035.c b/drivers/iio/light/vcnl4035.c > index 0db306ee910e..da2bf622a67b 100644 > --- a/drivers/iio/light/vcnl4035.c > +++ b/drivers/iio/light/vcnl4035.c > @@ -651,7 +651,7 @@ static const struct dev_pm_ops vcnl4035_pm_ops = { > }; > > static const struct i2c_device_id vcnl4035_id[] = { > - { "vcnl4035", 0}, > + { "vcnl4035", 0 }, > { } > }; > MODULE_DEVICE_TABLE(i2c, vcnl4035_id); > -- > 2.34.1 >
diff --git a/drivers/iio/light/vcnl4035.c b/drivers/iio/light/vcnl4035.c index 0db306ee910e..da2bf622a67b 100644 --- a/drivers/iio/light/vcnl4035.c +++ b/drivers/iio/light/vcnl4035.c @@ -651,7 +651,7 @@ static const struct dev_pm_ops vcnl4035_pm_ops = { }; static const struct i2c_device_id vcnl4035_id[] = { - { "vcnl4035", 0}, + { "vcnl4035", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, vcnl4035_id);