aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-03-01 17:04:04 +0100
committerHans de Goede <[email protected]>2021-03-08 11:33:39 +0100
commit2b329f5694aec86107931584413c7d2ebc6b548d (patch)
treebef3934baddef03a5a3775f7bd4aaf9915b36b6c /tools/perf/scripts/python/syscall-counts.py
parent2478907572fdd7cf285720f16513e956b3528854 (diff)
platform/x86: wmi: Make remove callback return void
The driver core ignores the return value of struct bus_type::remove() (and so wmi_dev_remove()) because there is only little that can be done. To simplify the quest to make this function return void, let struct wmi_driver::remove() return void, too. All implementers of this callback return 0 already and this way it should be obvious to driver authors that returning an error code is a bad idea. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Pali Rohár <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions