diff options
| author | Yang Yingliang <[email protected]> | 2022-09-17 12:25:04 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-09-19 14:44:18 +0000 |
| commit | f4ca8c88c2c7ea3ea17c6fdfcc1af4b007403833 (patch) | |
| tree | 159e50bc46fcfeaacde55c13bfb4e289f7b42629 /drivers/spi/spi-loopback-test.c | |
| parent | spi: mpc52xx: Replace of_gpio_count() by gpiod_count() (diff) | |
| download | kernel-f4ca8c88c2c7ea3ea17c6fdfcc1af4b007403833.tar.gz kernel-f4ca8c88c2c7ea3ea17c6fdfcc1af4b007403833.zip | |
spi: omap2-mcspi: Switch to use dev_err_probe() helper
In the probe path, dev_err() can be replace with dev_err_probe()
which will check if error code is -EPROBE_DEFER and prints the
error name.
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-loopback-test.c')
0 files changed, 0 insertions, 0 deletions
