summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-29 09:47:11 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-03 21:40:49 +0300
commit55dc295200e60fd4a334098dd4c036eff9e9ead3 (patch)
tree134ea6e24437c48c9de638582839e0118edacced /include/linux/debugobjects.h
parentc8b9a02361d99364faddbf1193b85d476f35cfd3 (diff)
downloadlinux-55dc295200e60fd4a334098dd4c036eff9e9ead3.tar.xz
iio: adc: envelope-detector: 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> Acked-by: Peter Rosin <peda@axentia.se> Link: https://lore.kernel.org/r/20200829064726.26268-3-krzk@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions