diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-08-27 20:08:25 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-08-28 18:15:34 +0000 |
| commit | ca6a77eb34e5c8cb7f2f232196301e6581d599df (patch) | |
| tree | 63646ab92db5ca2d0ebb2922b9814e08cfade1e7 /lib/string_helpers.c | |
| parent | gpio: omap: Simplify with dev_err_probe() (diff) | |
| download | kernel-ca6a77eb34e5c8cb7f2f232196301e6581d599df.tar.gz kernel-ca6a77eb34e5c8cb7f2f232196301e6581d599df.zip | |
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
