diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-01 17:27:05 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-09-08 18:19:24 +0100 |
commit | 96189475820835d7176171492640a58c600aca42 (patch) | |
tree | f620ba53b0ff849e72fff935796cc43b5fed7df1 /lib/mpi/mpi-mod.c | |
parent | 687a2e76186dcfa42f22c14b655c3fb159839e79 (diff) |
spi: atmel: 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]>
Reviewed-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions