aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-12 17:15:09 +0100
committerStephen Boyd <[email protected]>2023-03-28 19:31:45 -0700
commitc8bb21be9fc48df65e25bea69400e84b8c1084f6 (patch)
tree712d5f656b8a1682790c30b9d6de98a8e5ab0023 /tools/testing/selftests/bpf/prog_tests
parent3fd43a2c3acdd4565f961afb3cf327af2a9c6af0 (diff)
clk: ti: 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: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions