diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-01-23 20:52:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-09 16:00:43 +0300 |
commit | afb0a80e63d67e957b5d0eb4ade301aff6e13c8c (patch) | |
tree | 2e60f2d853c906b964039c5c9dd441d8c1094505 /sound/soc/codecs/adau1781-spi.c | |
parent | 316f569df766df9a49c36c052ec6afaf19cb6933 (diff) | |
download | linux-afb0a80e63d67e957b5d0eb4ade301aff6e13c8c.tar.xz |
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 'sound/soc/codecs/adau1781-spi.c')
0 files changed, 0 insertions, 0 deletions