mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 23:09:29 +02:00
bus: fsl-mc: drop unused assignment of acpi_device_id::driver_data
This module sets the acpi_device_id::driver_data to 0 but the field is not actually used within the module, we can just drop it from the table. While we are at it - use a named initializer for the acpi_device_id::id field as well to make the code more readable. Signed-off-by: Pawel Zalewski (The Capable Hub) <pzalewski@thegoodpenguin.co.uk> Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Link: https://lore.kernel.org/r/20260728-acpi-bus-v1-1-12ff25fdea9b@thegoodpenguin.co.uk Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
This commit is contained in:
committed by
Christophe Leroy (CS GROUP)
parent
fbdba2a67f
commit
e14b8d3938
@@ -1202,7 +1202,7 @@ static const struct of_device_id fsl_mc_bus_match_table[] = {
|
||||
MODULE_DEVICE_TABLE(of, fsl_mc_bus_match_table);
|
||||
|
||||
static const struct acpi_device_id fsl_mc_bus_acpi_match_table[] = {
|
||||
{"NXP0008", 0 },
|
||||
{ .id = "NXP0008" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(acpi, fsl_mc_bus_acpi_match_table);
|
||||
|
||||
Reference in New Issue
Block a user