aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorYangtao Li <[email protected]>2023-07-27 15:00:22 +0800
committerUlf Hansson <[email protected]>2023-08-15 12:45:05 +0200
commita29e8b51a07e1785bb2a0cf334c801f2af7d69c5 (patch)
treee97970f5ba8fc347ff9cef0252b867d0467b367e /tools/perf/scripts
parentf67cd7f6d3678dbe8a370655f41d4a9d85c73bbc (diff)
mmc: sdhci-of-aspeed: Convert to platform remove
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. Cc: Uwe Kleine-König <[email protected]> Signed-off-by: Yangtao Li <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions