ACPI / dock: fix error return code in dock_add()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 17 Jul 2013 00:33:25 +0000 (08:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Jul 2013 22:34:00 +0000 (00:34 +0200)
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>

No differences found