linux/drivers/gpu/drm/tiny
Uwe Kleine-König da20c383de drm/arcpgu: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jyri Sarha <jyri.sarha@iki.fi>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231102165640.3307820-20-u.kleine-koenig@pengutronix.de
2023-11-21 09:17:49 +01:00
..
arcpgu.c drm/arcpgu: Convert to platform remove callback returning void 2023-11-21 09:17:49 +01:00
bochs.c drm: Call drm_atomic_helper_shutdown() at shutdown time for misc drivers 2023-09-21 10:41:04 -07:00
cirrus.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
gm12u320.c drm: gm12u320: Fix the timeout usage for usb_bulk_msg() 2023-09-04 10:00:57 +02:00
hx8357d.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ili9163.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ili9225.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
ili9341.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ili9486.c drm/mipi-dbi: Lock SPI bus before setting D/C GPIO 2023-08-02 13:18:07 +02:00
Kconfig
Makefile
mi0283qt.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ofdrm.c drm/ofdrm: Preallocate format-conversion buffer in atomic_check 2023-11-14 10:17:22 +01:00
panel-mipi-dbi.c drm/tiny: panel-mipi-dbi: Allow sharing the D/C GPIO 2023-08-02 13:18:34 +02:00
repaper.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
simpledrm.c Merge drm/drm-next into drm-misc-next 2023-11-15 10:56:44 +01:00
st7586.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
st7735r.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00