mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
mfd: Unify style of spi_device_id arrays
The two previous commits adapted the style of some spi_device_id arrays. Fix the remaining arrays to the same style, that is: - no comma after the list terminator and after an initializer iff the closing } is on the same line - a single space in the list terminator Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/323dc79eb1bcc55caf0163e26501e1de3e710554.1783003256.git.u.kleine-koenig@baylibre.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
02c54e9078
commit
d0a1023960
|
|
@ -155,7 +155,7 @@ MODULE_DEVICE_TABLE(of, altr_a10sr_spi_of_match);
|
|||
|
||||
static const struct spi_device_id altr_a10sr_spi_ids[] = {
|
||||
{ .name = "a10sr" },
|
||||
{ },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, altr_a10sr_spi_ids);
|
||||
|
||||
|
|
|
|||
|
|
@ -203,9 +203,9 @@ static const struct of_device_id cpcap_of_match[] = {
|
|||
MODULE_DEVICE_TABLE(of, cpcap_of_match);
|
||||
|
||||
static const struct spi_device_id cpcap_spi_ids[] = {
|
||||
{ .name = "cpcap", },
|
||||
{ .name = "6556002", },
|
||||
{},
|
||||
{ .name = "cpcap" },
|
||||
{ .name = "6556002" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, cpcap_spi_ids);
|
||||
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ MODULE_DEVICE_TABLE(of, sprd_pmic_match);
|
|||
static const struct spi_device_id sprd_pmic_spi_ids[] = {
|
||||
{ .name = "sc2730", .driver_data = PMIC_TYPE_SC2730 },
|
||||
{ .name = "sc2731", .driver_data = PMIC_TYPE_SC2731 },
|
||||
{},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, sprd_pmic_spi_ids);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user