Commit 14b15f3f authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Jonathan Cameron

iio: adc: meson-saradc: Make the of_device_id array style consistent

Use only one line for the closing bracket of the last entry and the
opening bracket for the next one to keep the style across the whole
array consistent. Also add a "sentinel" comment to the last entry and
remove the comma to ensure that there won't be any entry after it.
No functional changes.
Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20200915192621.13202-1-martin.blumenstingl@googlemail.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 13ca1a1b
...@@ -1150,16 +1150,13 @@ static const struct of_device_id meson_sar_adc_of_match[] = { ...@@ -1150,16 +1150,13 @@ static const struct of_device_id meson_sar_adc_of_match[] = {
{ {
.compatible = "amlogic,meson8-saradc", .compatible = "amlogic,meson8-saradc",
.data = &meson_sar_adc_meson8_data, .data = &meson_sar_adc_meson8_data,
}, }, {
{
.compatible = "amlogic,meson8b-saradc", .compatible = "amlogic,meson8b-saradc",
.data = &meson_sar_adc_meson8b_data, .data = &meson_sar_adc_meson8b_data,
}, }, {
{
.compatible = "amlogic,meson8m2-saradc", .compatible = "amlogic,meson8m2-saradc",
.data = &meson_sar_adc_meson8m2_data, .data = &meson_sar_adc_meson8m2_data,
}, }, {
{
.compatible = "amlogic,meson-gxbb-saradc", .compatible = "amlogic,meson-gxbb-saradc",
.data = &meson_sar_adc_gxbb_data, .data = &meson_sar_adc_gxbb_data,
}, { }, {
...@@ -1175,7 +1172,7 @@ static const struct of_device_id meson_sar_adc_of_match[] = { ...@@ -1175,7 +1172,7 @@ static const struct of_device_id meson_sar_adc_of_match[] = {
.compatible = "amlogic,meson-g12a-saradc", .compatible = "amlogic,meson-g12a-saradc",
.data = &meson_sar_adc_g12a_data, .data = &meson_sar_adc_g12a_data,
}, },
{}, { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, meson_sar_adc_of_match); MODULE_DEVICE_TABLE(of, meson_sar_adc_of_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment