summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-03-04 12:10:06 +0300
committerRobert Foss <rfoss@kernel.org>2024-04-10 16:33:22 +0300
commit2caad4f7b024cced797a4c3bdffaec470976f0a8 (patch)
tree3681fa78212de95b70838b18a46a4401319bc235 /CREDITS
parent29b39672bc1d651010f7b61e106d51998f068aaf (diff)
downloadlinux-2caad4f7b024cced797a4c3bdffaec470976f0a8.tar.xz
drm/bridge: imx8mp-hdmi-tx: 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 ignored (apart from emitting a warning) 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. Eventually after all drivers are converted, .remove_new() will be renamed to .remove(). 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: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240304091005.717012-2-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions