aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_ec_i2c.c
diff options
context:
space:
mode:
authorGravatar Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 2022-01-23 18:51:59 +0100
committerGravatar Mark Brown <broonie@kernel.org> 2022-02-09 13:00:42 +0000
commit316f569df766df9a49c36c052ec6afaf19cb6933 (patch)
tree56e577291a422a53f6fd7cd677e0c60d9119e529 /drivers/platform/chrome/cros_ec_i2c.c
parentstaging: fbtft: Deduplicate driver registration macros (diff)
downloadlinux-316f569df766df9a49c36c052ec6afaf19cb6933.tar.gz
linux-316f569df766df9a49c36c052ec6afaf19cb6933.tar.bz2
linux-316f569df766df9a49c36c052ec6afaf19cb6933.zip
tpm: st33zp24: Make st33zp24_remove() a void function
Up to now st33zp24_remove() returns zero unconditionally. Make it return no value instead which makes it easier to see in the callers that there is no error to handle. Also the return value of i2c and spi remove callbacks is ignored anyway. Link: https://lore.kernel.org/r/20220104231103.227924-1-u.kleine-koenig@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-4-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_i2c.c')
0 files changed, 0 insertions, 0 deletions