ACPI: simplify dock driver with new helper functions
authorJiang Liu <jiang.liu@huawei.com>
Fri, 28 Jun 2013 16:24:42 +0000 (00:24 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 14 Jul 2013 23:33:10 +0000 (01:33 +0200)
commitc9b5471f8866956919955b70ab27b4737b8bce30
treee3dc01f55036556bc345a12bc7e118e849d06ccc
parentebf4df8db0e7e5db9f7fca5fcd0c2b90ac954385
ACPI: simplify dock driver with new helper functions

Use helper functions introduced previously to simplify the ACPI dock
driver.

[rjw: Changelog]
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c