commit | 8b12b922ed5b9b6bfc345d3d6c6de56b2982af7f | [log] [tgz] |
---|---|---|
author | Alex Chiang <achiang@hp.com> | Thu May 14 08:31:32 2009 -0600 |
committer | Len Brown <len.brown@intel.com> | Wed Jun 17 22:57:03 2009 -0400 |
tree | 83f827323472200923db46c4b9e5cec8e154e50f | |
parent | ab46feae865c5b96dbf5e261be8638165932bfb1 [diff] |
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>