mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-28 01:43:47 -04: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:
committed by
Will Deacon
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 },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user