diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-29 08:47:15 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 20:40:49 +0200 |
commit | 6d2710ce2c45122eea4ccdb4cee1fd56e6702cea (patch) | |
tree | 69f5591df126cb45160c0ac22c66e1c8f503c12b /drivers/iio/dac | |
parent | iio: adc: meson_saradc: Simplify with dev_err_probe() (diff) | |
download | linux-6d2710ce2c45122eea4ccdb4cee1fd56e6702cea.tar.xz linux-6d2710ce2c45122eea4ccdb4cee1fd56e6702cea.zip |
iio: adc: rcar-gyroadc: 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-7-krzk@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions