]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: mt6360_charger: Use of match table unconditionally
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Fri, 29 May 2026 10:18:20 +0000 (12:18 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 1 Jun 2026 23:34:21 +0000 (01:34 +0200)
commiteb7ed650e5960fc303130704d1e29d18a7d0e1df
tree6b1a06fe82d7936bf899f9e41fad1d945d8838b2
parente28f7498dd819878b8acacb89c4c073a646feea0
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>
drivers/power/supply/mt6360_charger.c