summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-29 08:47:10 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-03 19:40:48 +0100
commitc8b9a02361d99364faddbf1193b85d476f35cfd3 (patch)
treea5701ee0b258cdc5cc5d2830dee12109b6ecbd3f /tools/perf/scripts/python/bin/stackcollapse-record
parent3bdb1255e6b0a49e83412ad0d15eb2b2f7f63482 (diff)
downloadlinux-c8b9a02361d99364faddbf1193b85d476f35cfd3.tar.gz
linux-c8b9a02361d99364faddbf1193b85d476f35cfd3.zip
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 <krzk@kernel.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20200829064726.26268-2-krzk@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions