aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-07 12:58:39 +0100
committerVinod Koul <[email protected]>2023-03-20 18:14:56 +0530
commit91537c86c5203163bc671d79e941ca06eacd1a95 (patch)
tree11c4327103e998f04f6229d184ae8d748e03d46d /tools/perf/scripts/python/bin/stackcollapse-record
parentdd5c724e09f91ba7b08054f754abe3b6e14c3e7b (diff)
phy: motorola: phy-mapphone-mdm6600: 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions