mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
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:
parent
e62decaf98
commit
ecc2e04686
|
|
@ -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 },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user