diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-01-23 18:52:00 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-09 14:00:43 +0100 |
commit | afb0a80e63d67e957b5d0eb4ade301aff6e13c8c (patch) | |
tree | 2e60f2d853c906b964039c5c9dd441d8c1094505 /drivers/net/can | |
parent | tpm: st33zp24: Make st33zp24_remove() a void function (diff) | |
download | linux-afb0a80e63d67e957b5d0eb4ade301aff6e13c8c.tar.xz linux-afb0a80e63d67e957b5d0eb4ade301aff6e13c8c.zip |
platform/chrome: cros_ec: Make cros_ec_unregister() return void
Up to now cros_ec_unregister() returns zero unconditionally. Make it
return void instead which makes it easier to see in the callers that
there is no error to handle.
Also the return value of i2c, platform and spi remove callbacks is
ignored anyway.
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20211020071753.wltjslmimb6wtlp5@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220123175201.34839-5-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions