aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2010-07-20 15:19:50 -0700
committerMatthew Garrett <[email protected]>2010-08-03 09:49:02 -0400
commit1bd1ca1f4ce99c5be041bfc2997e394cdb5240dc (patch)
tree2c0f2338f251a4057da3ceb3db30eabe58bde2d9 /tools/perf/scripts/python
parenta0dba697eec78fb2d4e2b76b83104a2b251ae70d (diff)
toshiba_acpi: make remove_device() and add_device() void
remove_device() and add_device() are not related to ACPI APIs, it does not make sense to return acpi_status for both functions. Current implementation of add_device() always AE_OK, thus the return value checking for add_device() always return false for ACPI_FAILURE(status). This patch makes add_device() to be void and remove the unnecessary return value checking. remove_proc_entry() won't fail, thus change remove_device() to be void. Signed-off-by: Axel Lin <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: Márton Németh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions