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:
Uwe Kleine-König (The Capable Hub) 2026-07-20 08:23:45 +02:00 committed by Mark Brown
parent f5098b6bae
commit c7a6909de8
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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);