OSDN Git Service

video: backlight: ili9320: Make ili9320_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 19 Oct 2021 12:09:27 +0000 (14:09 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 20 Oct 2021 14:13:59 +0000 (15:13 +0100)
commit3976e974df1fd3a718627b0c9bdfee1953baa0d5
tree5cee1b9fcd7927b4c45e474b650c6ff525190608
parent563edf85ce18a90dd0a7b39e279a691d937205f6
video: backlight: ili9320: Make ili9320_remove() return void

Up to now ili9320_remove() 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 spi remove callbacks is ignored anyway.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211019120927.3822792-1-u.kleine-koenig@pengutronix.de
drivers/video/backlight/ili9320.c
drivers/video/backlight/ili9320.h
drivers/video/backlight/vgg2432a4.c