virt: arm-cca-guest: 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 use a named initializer for .name.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
Uwe Kleine-König (The Capable Hub)
2026-06-17 12:28:26 +02:00
committed by Will Deacon
parent e62decaf98
commit ecc2e04686

View File

@@ -198,7 +198,7 @@ module_exit(arm_cca_guest_exit);
/* modalias, so userspace can autoload this module when RSI is available */
static const struct platform_device_id arm_cca_match[] __maybe_unused = {
{ RSI_PDEV_NAME, 0},
{ .name = RSI_PDEV_NAME },
{ }
};