mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
ASoC: codecs: mt6357: Drop unused assignment of platform_device_id driver data
The driver explicitly sets the .driver_data member of struct platform_device_id to zero without relying on that value. Drop this unused assignment. While touching this array unify spacing, use a named initializer for .name and drop a trailing comma after the list terminator. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/724af6f60ed9420d5513724d126d70f22e319c91.1784528081.git.u.kleine-koenig@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f5098b6bae
commit
c7a6909de8
|
|
@ -1834,8 +1834,8 @@ static int mt6357_platform_driver_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
static const struct platform_device_id mt6357_platform_ids[] = {
|
||||
{"mt6357-sound", 0},
|
||||
{ /* sentinel */ },
|
||||
{ .name = "mt6357-sound" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, mt6357_platform_ids);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user