spi: stm32: Remove redundant dev_err_probe()
authorRuan Jinjie <ruanjinjie@huawei.com>
Thu, 27 Jul 2023 11:05:58 +0000 (11:05 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 27 Jul 2023 12:06:37 +0000 (13:06 +0100)
commitb505e2ecf31b6a2a62c76203558384d7646ab02f
tree92c93558a12476fe76c42d6640cab80a90edbc2f
parent29a449e765ff70a5bd533be94babb6d36985d096
spi: stm32: Remove redundant dev_err_probe()

There is no need to call the dev_err_probe() function directly to print
a custom message when handling an error from platform_get_irq() function as
it is going to display an appropriate error message in case of a failure.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230727110558.2904084-1-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c