linux/drivers/gpu/drm/tiny
Uwe Kleine-König 84e6da7ad5 drm/tiny: 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 the tiny drm drivers from always returning zero in the
remove callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230507162616.1368908-50-u.kleine-koenig@pengutronix.de
2023-06-08 09:04:12 -07:00
..
Kconfig drm/ofdrm: Depend on CONFIG_MMU 2022-11-03 10:17:53 +01:00
Makefile drm/ofdrm: Add ofdrm for Open Firmware framebuffers 2022-10-14 09:49:47 +02:00
arcpgu.c drm/arcpgu: Use GEM DMA fbdev emulation 2023-03-14 17:07:49 +01:00
bochs.c drm/fbdev-generic: Remove unused prefer_shadow_fbdev flag 2023-03-22 13:32:47 +01:00
cirrus.c drm/cirrus: Use VGA macro constants to unblank 2023-03-13 10:37:09 +01:00
gm12u320.c drm: gm12u320: Remove #ifdef guards for PM related functions 2022-12-12 13:07:03 +00: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/mipi-dbi: Move drm_dev_{enter, exit}() out from fb_dirty functions 2022-12-05 14:21:18 +01:00
ili9341.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ili9486.c drm/tiny: ili9486: Do not assume 8-bit only SPI controllers 2023-01-02 11:02:08 +01:00
mi0283qt.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ofdrm.c drm/tiny: Convert to platform remove callback returning void 2023-06-08 09:04:12 -07:00
panel-mipi-dbi.c drm/tiny: panel-mipi-dbi: Read I/O supply from DT 2022-12-14 14:58:09 +01:00
repaper.c drm/fb-helper: Move generic fbdev emulation into separate source file 2022-11-05 17:12:04 +01:00
simpledrm.c drm/tiny: Convert to platform remove callback returning void 2023-06-08 09:04:12 -07:00
st7586.c drm/mipi-dbi: Move drm_dev_{enter, exit}() out from fb_dirty functions 2022-12-05 14:21:18 +01:00
st7735r.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00