aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-19 00:54:16 +0100
committerHelge Deller <[email protected]>2023-04-24 11:48:32 +0200
commit068240885346a4f484237e24dc1f75530a58c370 (patch)
treefa245e98e2c9e03597ea4e2cb6a53c0332a56a4e /tools/perf/scripts/python/exported-sql-viewer.py
parent03dfa8d2be6f16c087fe871f043a99857cb38d80 (diff)
fbdev: sh_mobile_lcdcfb: 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: Geert Uytterhoeven <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions