diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-17 02:33:25 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-26 00:34:00 +0200 |
commit | 0177f29fea534ef5e6af2d76e9a9be0fdd325c4d (patch) | |
tree | e1a7db8e94217cf39cb5c9193305f0149fd3f6c9 /drivers/acpi/thermal.c | |
parent | ACPI / dock: Drop unnecessary local variable from dock_add() (diff) | |
download | linux-0177f29fea534ef5e6af2d76e9a9be0fdd325c4d.tar.xz linux-0177f29fea534ef5e6af2d76e9a9be0fdd325c4d.zip |
ACPI / dock: fix error return code in dock_add()
Fix to return -ENODEV in the acpi notify handler install error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/thermal.c')
0 files changed, 0 insertions, 0 deletions