The driver explicitly sets the .driver_data member of struct
platform_device_id to zero without relying on that value. Drop these
unused assignments.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Message-ID: <
9afdb7b0894f51fba78c64612428f7bb117901d1.
1781620139.git.u.kleine-koenig@baylibre.com>
Signed-off-by: Corey Minyard <corey@minyard.net>
}
static const struct platform_device_id si_plat_ids[] = {
- { "dmi-ipmi-si", 0 },
- { "hardcode-ipmi-si", 0 },
- { "hotmod-ipmi-si", 0 },
+ { .name = "dmi-ipmi-si" },
+ { .name = "hardcode-ipmi-si" },
+ { .name = "hotmod-ipmi-si" },
{ }
};