diff options
| author | Marek Vasut <[email protected]> | 2022-10-14 19:24:25 +0200 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2022-10-29 01:40:31 +0200 |
| commit | 5f5c10ecaf3fdeba9b2b0af5301977420c2c4df0 (patch) | |
| tree | ff505a5b8cf5190d7b331bf4ee7aec853c4fb2b5 /tools/perf/scripts/python/bin | |
| parent | b63e60ebb3fb071a96667307b1e129ccac76ce6b (diff) | |
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 <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions