diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:48:57 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-08-26 17:25:42 +0200 |
| commit | 31873dc23c3fa19b86fb543935f284ebbddf486e (patch) | |
| tree | c64f3e60a2b19b297a372765914c9aa442900c1f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | power: supply: gpio-charger: Simplify with dev_err_probe() (diff) | |
| download | linux-31873dc23c3fa19b86fb543935f284ebbddf486e.tar.gz linux-31873dc23c3fa19b86fb543935f284ebbddf486e.zip | |
power: supply: ingenic: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
