diff options
| author | Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> | 2026-07-03 17:46:22 +0200 |
|---|---|---|
| committer | David Heidelberg <david@ixit.cz> | 2026-08-11 18:14:00 +0200 |
| commit | ce2d85e3d293b392ab8f1729a71788fae83ef254 (patch) | |
| tree | 72ddce5d104d572850b57559e03fb9266546d6e0 /drivers/nfc/s3fwrn5 | |
| parent | 777fd2dab44601ea7f59a104e9553e3eb7329782 (diff) | |
nfc: Unify style of of_device_id arrays
The most common style treewide is:
- A single space in the list terminator and no trailing ,
- No comma after a named initializers iff the closing } is on the same
line
Adapt the of_device_id arrays accordingly.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Ian Ray <ian.ray@gehealthcare.com>
Link: https://patch.msgid.link/583375dcd834f5edf6241b09cdd75ad4f32af668.1783091699.git.u.kleine-koenig@baylibre.com
Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'drivers/nfc/s3fwrn5')
| -rw-r--r-- | drivers/nfc/s3fwrn5/i2c.c | 4 | ||||
| -rw-r--r-- | drivers/nfc/s3fwrn5/uart.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/nfc/s3fwrn5/i2c.c b/drivers/nfc/s3fwrn5/i2c.c index 499301a6fa3f..4ba762611711 100644 --- a/drivers/nfc/s3fwrn5/i2c.c +++ b/drivers/nfc/s3fwrn5/i2c.c @@ -211,8 +211,8 @@ static const struct i2c_device_id s3fwrn5_i2c_id_table[] = { MODULE_DEVICE_TABLE(i2c, s3fwrn5_i2c_id_table); static const struct of_device_id of_s3fwrn5_i2c_match[] = { - { .compatible = "samsung,s3fwrn5-i2c", }, - {} + { .compatible = "samsung,s3fwrn5-i2c" }, + { } }; MODULE_DEVICE_TABLE(of, of_s3fwrn5_i2c_match); diff --git a/drivers/nfc/s3fwrn5/uart.c b/drivers/nfc/s3fwrn5/uart.c index e17c599a2da5..8f142a255101 100644 --- a/drivers/nfc/s3fwrn5/uart.c +++ b/drivers/nfc/s3fwrn5/uart.c @@ -85,8 +85,8 @@ static const struct serdev_device_ops s3fwrn82_serdev_ops = { }; static const struct of_device_id s3fwrn82_uart_of_match[] = { - { .compatible = "samsung,s3fwrn82", }, - {}, + { .compatible = "samsung,s3fwrn82" }, + { } }; MODULE_DEVICE_TABLE(of, s3fwrn82_uart_of_match); |
