ACPI: acpi_device_register() should call device_register()
authorAlex Chiang <achiang@hp.com>
Thu, 14 May 2009 14:31:32 +0000 (08:31 -0600)
committerLen Brown <len.brown@intel.com>
Thu, 18 Jun 2009 02:57:03 +0000 (22:57 -0400)
commit8b12b922ed5b9b6bfc345d3d6c6de56b2982af7f
tree83f827323472200923db46c4b9e5cec8e154e50f
parentab46feae865c5b96dbf5e261be8638165932bfb1
ACPI: acpi_device_register() should call device_register()

There is no apparent reason for acpi_device_register() to manually
register a new device in two steps (initialize then add).

Just call device_register() directly.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c