mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
power: supply: mt6360_charger: Use of match table unconditionally
mt6360_charger_of_id is defined unconditionally, so it doesn't make sense to not use it for the driver's .of_match_table member. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/ff94de5fb3ee6aeb1c0256e1a00c1c5ac350b430.1780048925.git.u.kleine-koenig@baylibre.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
e28f7498dd
commit
eb7ed650e5
|
|
@ -849,7 +849,7 @@ MODULE_DEVICE_TABLE(platform, mt6360_charger_id);
|
|||
static struct platform_driver mt6360_charger_driver = {
|
||||
.driver = {
|
||||
.name = "mt6360-chg",
|
||||
.of_match_table = of_match_ptr(mt6360_charger_of_id),
|
||||
.of_match_table = mt6360_charger_of_id,
|
||||
},
|
||||
.probe = mt6360_charger_probe,
|
||||
.id_table = mt6360_charger_id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user