Searched hist:"5 f5c10ecaf3fdeba9b2b0af5301977420c2c4df0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | bq25890_charger.c | diff 5f5c10ecaf3fdeba9b2b0af5301977420c2c4df0 Fri Oct 14 12:24:25 CDT 2022 Marek Vasut <marex@denx.de> power: supply: bq25890: Factor out regulator registration code
Pull the regulator registration code into separate function, so it can be extended to register more regulators later. Currently this is only moving ifdeffery into one place and other preparatory changes. The dev_err_probe() output string is changed to explicitly list vbus regulator failure, so that once more regulators are registered, it would be clear which one failed.
Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|