diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-29 08:47:17 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 20:40:50 +0200 |
commit | bfa96be8a49c1548b7d1311022262676d7fc6f30 (patch) | |
tree | 1b1cd0e08d6b996bf5b5385c0168dc9d09aae79c /Documentation/crypto | |
parent | iio: adc: stm32: Simplify with dev_err_probe() (diff) | |
download | linux-bfa96be8a49c1548b7d1311022262676d7fc6f30.tar.xz linux-bfa96be8a49c1548b7d1311022262676d7fc6f30.zip |
iio: afe: iio-rescale: 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-9-krzk@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/crypto')
0 files changed, 0 insertions, 0 deletions