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 13:00:43 +0000 |
commit | afb0a80e63d67e957b5d0eb4ade301aff6e13c8c (patch) | |
tree | 2e60f2d853c906b964039c5c9dd441d8c1094505 /drivers/net/dsa | |
parent | 316f569df766df9a49c36c052ec6afaf19cb6933 (diff) | |
download | linux-afb0a80e63d67e957b5d0eb4ade301aff6e13c8c.tar.gz linux-afb0a80e63d67e957b5d0eb4ade301aff6e13c8c.tar.bz2 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/dsa')
0 files changed, 0 insertions, 0 deletions