summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-19 00:53:46 +0100
committerHelge Deller <deller@gmx.de>2023-04-24 11:48:29 +0200
commit2a50e4a1e685f9703763ee4a13f7bc622eecf79e (patch)
tree107b09eb6a67ad498529917df041e1c9dc5fd881 /tools/perf/scripts/python/export-to-postgresql.py
parentdd65e6f3fad96150cf54f8757f71884127ec4376 (diff)
fbdev: cg6: 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions