diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-08-27 20:08:26 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-08-28 18:15:51 +0000 |
| commit | 308a028d079caf6e805f28cfc385334e6ce90ea5 (patch) | |
| tree | fa6e57d54f6026a8f9e7de76a8efebda5b03c25c /lib/string_helpers.c | |
| parent | gpio: pca953x: Simplify with dev_err_probe() (diff) | |
| download | kernel-308a028d079caf6e805f28cfc385334e6ce90ea5.tar.gz kernel-308a028d079caf6e805f28cfc385334e6ce90ea5.zip | |
gpio: pisosr: 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
