diff options
author | 2022-07-06 13:06:24 +0300 | |
---|---|---|
committer | 2022-07-06 15:20:48 +0100 | |
commit | deef4da8be2f7e94a0807e56f856d3e20addce4d (patch) | |
tree | 4b0d62a66f32caaa68f3abab455e6221aaaebfcb /drivers/spi/spi-fsl-spi.h | |
parent | spi: amd: Make use of devm_spi_alloc_master() (diff) | |
download | linux-deef4da8be2f7e94a0807e56f856d3e20addce4d.tar.gz linux-deef4da8be2f7e94a0807e56f856d3e20addce4d.tar.bz2 linux-deef4da8be2f7e94a0807e56f856d3e20addce4d.zip |
spi: amd: Make use of dev_err_probe()
Simplify the error handling in probe function by switching from
dev_err() to dev_err_probe().
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20220706100626.1234731-4-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.h')
0 files changed, 0 insertions, 0 deletions