OpenCloudOS-Kernel/drivers/video/fbdev/omap2/omapfb
Uwe Kleine-König dc6b77badc fbdev: omapfb: 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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Helge Deller <deller@gmx.de>
2023-04-24 11:48:31 +02:00
..
displays fbdev: omapfb: panel-dsi-cm: Use backlight helper 2023-01-09 09:57:51 +01:00
dss fbdev: omapfb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile omapfb: rename omap2 module to omap2fb.ko 2018-07-24 19:11:27 +02:00
omapfb-ioctl.c fbdev: Use fallthrough pseudo-keyword 2020-08-03 21:38:37 +02:00
omapfb-main.c fbdev: omapfb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
omapfb-sysfs.c fbdev: omapfb: Use kstrtobool() instead of strtobool() 2023-01-16 09:37:31 +01:00
omapfb.h fbdev: omapfb: avoid -Wempty-body warning 2021-03-22 15:02:14 +01:00
vrfb.c fbdev: omapfb: use devm_platform_ioremap_resource() to simplify code 2020-01-03 14:27:44 +01:00