summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-19 02:54:23 +0300
committerHelge Deller <deller@gmx.de>2023-04-24 12:48:32 +0300
commit4a5ef62ce73b3c73ad3f844052b37cbabd9e2357 (patch)
tree2139e458047a9f263047ff840b1900027f179590 /tools/perf/scripts/python/check-perf-trace.py
parent24f677094e325dd669b8f60b75779e7ef8263503 (diff)
downloadlinux-4a5ef62ce73b3c73ad3f844052b37cbabd9e2357.tar.xz
fbdev: vga16fb: 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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions