OpenCloudOS-Kernel/drivers/gpu/drm/solomon
Uwe Kleine-König a4359b4e47
drm/ssd130x: Make ssd130x_remove() return void
This function returns zero unconditionally, so there isn't any benefit
of returning a value. Make it return void to be able to see at a glance
that the return value of ssd130x_i2c_remove() is always zero.

This patch is a preparation for making i2c remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220425192306.59800-1-u.kleine-koenig@pengutronix.de
2022-04-26 09:43:37 +02:00
..
Kconfig drm/solomon: Add SSD130x OLED displays SPI support 2022-04-20 18:48:17 +02:00
Makefile drm/solomon: Add SSD130x OLED displays SPI support 2022-04-20 18:48:17 +02:00
ssd130x-i2c.c drm/ssd130x: Make ssd130x_remove() return void 2022-04-26 09:43:37 +02:00
ssd130x-spi.c drm/solomon: Add SSD130x OLED displays SPI support 2022-04-20 18:48:17 +02:00
ssd130x.c drm/ssd130x: Make ssd130x_remove() return void 2022-04-26 09:43:37 +02:00
ssd130x.h drm/ssd130x: Make ssd130x_remove() return void 2022-04-26 09:43:37 +02:00