aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-01-14 17:40:06 +0100
committerRussell King <[email protected]>2021-02-01 19:44:30 +0000
commit33d6d2bb7e6bf1ec60d1f4982015db8175c4cba9 (patch)
treeb5e0ef7bf2e0766a4cc800983e0986b8b7733558 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent074a6bda18ce486695ad7308ac39e60cf8b04c39 (diff)
ARM: 9049/1: locomo: make locomo bus's remove callback return void
The driver core ignores the return value of struct bus_type::remove because there is only little that can be done. To simplify the quest to make this function return void, let struct locomo_driver::remove return void, too. All users already unconditionally return 0, this commit makes it obvious that returning an error code is a bad idea and ensures future users behave accordingly. Link: https://lore.kernel.org/r/[email protected] Acked-by: Dmitry Torokhov <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions