diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-10 18:07:06 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-09-14 15:50:17 +0100 |
commit | 9d99e55833dddf76dd6470e7ce97201abb612c03 (patch) | |
tree | 10e40108c6905a53ddc64092a9569951e04f3e79 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 6d66507d9b5507e26c5350d5a014b82c704124b8 (diff) |
spi: sprd: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and the error value gets printed.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Chunyan Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions