linux/drivers/video/fbdev/mb862xx
Uwe Kleine-König 3a2ab02ddf fbdev: mb862xx: 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:30 +02:00
..
Makefile
mb862xx_reg.h
mb862xx-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mb862xxfb_accel.c video: fbdev: mb862xx: remove redundant assignment to pointer ptr 2022-01-29 22:24:25 +01:00
mb862xxfb_accel.h
mb862xxfb.h video: fbdev: mb862xx: modify the static fb_ops directly 2019-12-05 10:57:22 +02:00
mb862xxfbdrv.c fbdev: mb862xx: Convert to platform remove callback returning void 2023-04-24 11:48:30 +02:00