summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-03-04 10:05:56 +0100
committerRobert Foss <rfoss@kernel.org>2024-04-10 15:06:45 +0200
commit29b39672bc1d651010f7b61e106d51998f068aaf (patch)
treec293f08c4a7d3e314a731092440a3a45e13553d8 /COPYING
parentfb24c1396fe107e66dfa4948881760586bc8d93c (diff)
drm/bridge: imx8mp-hdmi-pvi: Convert to platform remove callback returning voiddrm-misc-next-2024-04-10
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> Reviewed-by: Robert Foss <rfoss@kernel.org> Signed-off-by: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240304090555.716327-2-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions