diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 22:08:25 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-08-28 20:15:34 +0200 |
commit | ca6a77eb34e5c8cb7f2f232196301e6581d599df (patch) | |
tree | 63646ab92db5ca2d0ebb2922b9814e08cfade1e7 /drivers/thermal/thermal_netlink.h | |
parent | 4e7ed69685a5aec9974ce37c9eff260a9f945861 (diff) |
gpio: pca953x: 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>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/thermal/thermal_netlink.h')
0 files changed, 0 insertions, 0 deletions