diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-03-13 08:54:28 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-04-24 16:56:13 +0200 |
commit | 8efcbe927c5129d5b2528bbb40034c7dde87a6b6 (patch) | |
tree | 5a37f485bc488b4862966436b8872a88623be034 /crypto/cast5_generic.c | |
parent | ede38f924a9e3c60382a13576347dc41967e8762 (diff) | |
download | linux-stable-8efcbe927c5129d5b2528bbb40034c7dde87a6b6.tar.gz linux-stable-8efcbe927c5129d5b2528bbb40034c7dde87a6b6.tar.bz2 linux-stable-8efcbe927c5129d5b2528bbb40034c7dde87a6b6.zip |
clocksource/drivers/timer-ti-dm: Improve error message in .remove
If a platform driver's remove callback returns an error code, the driver
core emits a generic (and thus little helpful) error message.
Instead emit a more specifc error message about the actual error and
return zero to suppress the core's message.
Note that returning zero has no side effects apart from not emitting
said error message. This prepares converting platform driver's remove
message to return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230313075430.2730803-4-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions