ACPI: Clean up error code path in acpi_unbind_one()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Aug 2013 23:22:51 +0000 (01:22 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Aug 2013 21:41:48 +0000 (23:41 +0200)
commit38e88839eff8a3d2e8d3bcc2ad833fe51cca0496
treed23e77a0a1d12a5d7367f7770591a472c26ed5a8
parent3e3327837c180781960188563b4e4d5c004c2b29
ACPI: Clean up error code path in acpi_unbind_one()

The error code path in acpi_unbind_one() is unnecessarily complicated
(in particular, the err label is not really necessary) and the error
message printed by it is inaccurate (there's nothing called
'acpi_handle' in that function), so clean up those things.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
drivers/acpi/glue.c