power: supply: max14577: Drop driver data in of and platform device id arrays

These values are not used, the relevant distinction happens in the mfd
parent driver. So they can be dropped.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/62e1b01a6591dd59406a78f2bbca619d734a9150.1780048925.git.u.kleine-koenig@baylibre.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Uwe Kleine-König (The Capable Hub) 2026-05-29 12:18:17 +02:00 committed by Sebastian Reichel
parent 75a0e1e0b8
commit 37258ad1f3

View File

@ -613,18 +613,16 @@ static void max14577_charger_remove(struct platform_device *pdev)
}
static const struct platform_device_id max14577_charger_id[] = {
{ "max14577-charger", MAXIM_DEVICE_TYPE_MAX14577, },
{ "max77836-charger", MAXIM_DEVICE_TYPE_MAX77836, },
{ .name = "max14577-charger" },
{ .name = "max77836-charger" },
{ }
};
MODULE_DEVICE_TABLE(platform, max14577_charger_id);
static const struct of_device_id of_max14577_charger_dt_match[] = {
{ .compatible = "maxim,max14577-charger",
.data = (void *)MAXIM_DEVICE_TYPE_MAX14577, },
{ .compatible = "maxim,max77836-charger",
.data = (void *)MAXIM_DEVICE_TYPE_MAX77836, },
{ },
{ .compatible = "maxim,max14577-charger" },
{ .compatible = "maxim,max77836-charger" },
{ }
};
MODULE_DEVICE_TABLE(of, of_max14577_charger_dt_match);