diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2014-01-17 05:37:02 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-27 22:51:44 +0100 |
commit | 038d7b593563818c5e9bc61e05c7f5ce1ce8e3ef (patch) | |
tree | ad794691e171fa262ebbd861a1c0eac0c38dc4af /drivers/usb/musb/musb_dsps.c | |
parent | ACPI / scan: bail out early if failed to parse APIC ID for CPU (diff) | |
download | linux-038d7b593563818c5e9bc61e05c7f5ce1ce8e3ef.tar.xz linux-038d7b593563818c5e9bc61e05c7f5ce1ce8e3ef.zip |
ACPI / processor: Return specific error value when mapping lapic id
Usually, 0 is returned for success in int-returning functions and
negative value are returned on failure, but in processor_core.c, some
function return 1 for success and 0 for failure which causes confusion
to happen sometimes, so modify the functions in question to follow the
common convention..
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/usb/musb/musb_dsps.c')
0 files changed, 0 insertions, 0 deletions