diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-10-22 12:17:07 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2022-05-04 19:37:51 +0200 |
commit | c55f75c4f9c01934341b59ba8ac7492c13423e5b (patch) | |
tree | d3209a46fd21e343e1d6ba95fab384f94b43121a /arch/Kconfig | |
parent | 96c59c8ba801bad56f5e635640e1371b1680e42e (diff) |
leds: pca9532: Make pca9532_destroy_devices() return void
Up to now pca9532_destroy_devices() returns always zero because it's
always called with data != NULL. Remove the never-taken error path and
make it return void which makes it easier to see in the callers that
there is no error to handle.
Also the return value of i2c remove callbacks is ignored anyway.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions