]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ssd130x: Make ssd130x_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 25 Apr 2022 19:23:06 +0000 (21:23 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Tue, 26 Apr 2022 07:43:37 +0000 (09:43 +0200)
commitf4585397ab57771572daf8b4ec59230ec62b9eae
tree2745b6dfccfcb4fa60f5c9c9fa93f54070dbfc82
parent0109228b5eaaf40e0fa98af5f7994c1c7b193c62
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
drivers/gpu/drm/solomon/ssd130x-i2c.c
drivers/gpu/drm/solomon/ssd130x.c
drivers/gpu/drm/solomon/ssd130x.h