aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-21 09:41:22 +0100
committerJoerg Roedel <[email protected]>2023-03-31 10:01:58 +0200
commitd8149d39299ec89125a1cb35cdd77defd7a79deb (patch)
tree89991b65f00189f8199f9ddd631a2da3d9c2893a /scripts/gdb/linux
parent816a4afce133e75f5977bbf0f4c24c02280b1a99 (diff)
iommu/mtk: 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 <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions