aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2020-08-29 08:47:10 +0200
committerJonathan Cameron <[email protected]>2020-09-03 19:40:48 +0100
commitc8b9a02361d99364faddbf1193b85d476f35cfd3 (patch)
treea5701ee0b258cdc5cc5d2830dee12109b6ecbd3f /tools/perf/scripts/python
parent3bdb1255e6b0a49e83412ad0d15eb2b2f7f63482 (diff)
iio: accel: mma8452: 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]> 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