aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2020-08-29 08:47:19 +0200
committerJonathan Cameron <[email protected]>2020-09-03 19:40:50 +0100
commited1759093cacbe359597fce1ca0f2831ccb96deb (patch)
tree338fdac798aec552bc6c62f52b034f02fbe0ef0d /tools/perf/scripts/python
parent8facae29c468bd4ac1cabb440cdbac47ac9ac9e1 (diff)
iio: chemical: scd30: 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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Tomasz Duszynski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions