diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-03-09 19:04:01 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-04-02 14:19:25 +0200 |
commit | 166767ab913dbf79129cf5f36b15b581513b501a (patch) | |
tree | 49d60d60bb9a14b66601eaa2ce6ebf579dd700ca /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 33ae8b03462e6cab130b505f97633feacf1743d0 (diff) |
power: supply: sbs-battery: use dev_err_probe
Introduce usage of dev_err_probe in probe routine, which
makes the code slightly more readable and removes some
lines of code. It also removes PROBE_DEFER errors being
logged by default, which are common when the battery is
waiting for the charger driver to be registered.
This also cleans up a useless goto and instead returns
directly.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions