diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-08-18 20:09:12 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-09-05 20:27:13 +0200 |
commit | 09e3bdfe499d5b0ed24c123f7c5a12459db217db (patch) | |
tree | a7ecbcca09232229db154d7dc3d332dd463c9773 /drivers/iio/adc/ti-ads7950.c | |
parent | iio: proximity: aw96103: Add support for aw96103/aw96105 proximity sensor (diff) | |
download | linux-09e3bdfe499d5b0ed24c123f7c5a12459db217db.tar.xz linux-09e3bdfe499d5b0ed24c123f7c5a12459db217db.zip |
iio: adc: standardize on formatting for id match tables
This is a frequent minor comment in reviews, so start cleaning up
existing drivers in the hope we get fewer cases of cut and paste.
There are not kernel wide rules for these, but for IIO the style
that I prefer (and hence most common) is:
- Space after { and before }
- No comma after terminator { }
This may cause merge conflicts but they should be trivial to resolve
hence I have not broken this into per driver patches.
Link: https://patch.msgid.link/20240818180912.719399-1-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ti-ads7950.c')
-rw-r--r-- | drivers/iio/adc/ti-ads7950.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ti-ads7950.c b/drivers/iio/adc/ti-ads7950.c index 263fc3a1b87e..af28672aa803 100644 --- a/drivers/iio/adc/ti-ads7950.c +++ b/drivers/iio/adc/ti-ads7950.c @@ -705,7 +705,7 @@ static const struct of_device_id ads7950_of_table[] = { { .compatible = "ti,ads7959", .data = &ti_ads7950_chip_info[TI_ADS7959] }, { .compatible = "ti,ads7960", .data = &ti_ads7950_chip_info[TI_ADS7960] }, { .compatible = "ti,ads7961", .data = &ti_ads7950_chip_info[TI_ADS7961] }, - { }, + { } }; MODULE_DEVICE_TABLE(of, ads7950_of_table); |