commit | 9d99e55833dddf76dd6470e7ce97201abb612c03 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Thu Sep 10 18:07:06 2020 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 14 15:50:17 2020 +0100 |
tree | 10e40108c6905a53ddc64092a9569951e04f3e79 | |
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 <krzk@kernel.org> Acked-by: Chunyan Zhang <zhang.lyra@gmail.com> Link: https://lore.kernel.org/r/20200910160706.5883-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>