spi: microchip-core: Simplify some error message
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 5 Aug 2022 21:33:17 +0000 (23:33 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 11:18:41 +0000 (12:18 +0100)
commit7964e817d2311b37b86d6fbf588cd9fbe747b108
tree9c92286be81f36e0ed40c119093044368d8d6199
parentdad57a510db9423a4128ae6565854e999cebac51
spi: microchip-core: Simplify some error message

dev_err_probe() already prints the error code in a human readable way, so
there is no need to duplicate it as a numerical value at the end of the
message.

Moreover, in the case of devm_clk_get() it would only display '0' because
'ret' is know to be 0 at this point.

Fixes: cdeaf3a99a02 ("spi: microchip-core: switch to use dev_err_probe()")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/fb894ecec68e03fb7fc9353027c8b1a2610833d7.1659735153.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-microchip-core.c