power: supply: cpcap: Drop non-DT driver matching
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 17:29:15 +0000 (12:29 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 13 Oct 2023 00:38:35 +0000 (02:38 +0200)
commitb3c3a197baf23ca445ba74e3c7c40cfacfedd9fb
tree504a6412bc423daa24f4d34f881bb09f40832042
parent3c693ac29e3fb4e1d88652e633a9dc16e1dd76e4
power: supply: cpcap: Drop non-DT driver matching

Only DT based probing is used for the Motorola CPCAP charger driver, so
drop the !CONFIG_OF parts and redundant of_match_device() call.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231009172923.2457844-20-robh@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cpcap-charger.c