ACPI / hotplug: Use kobject_init_and_add() instead of _init() and _add()
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 25 Sep 2013 20:23:20 +0000 (14:23 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Sep 2013 17:58:18 +0000 (19:58 +0200)
commitacd3e2c99464c0391885d58dbe7c99a11d4c0289
tree1771219c4d30e026e0e5504045d3268602e6b03b
parentcae712724161c27f5e8c39bb3946449e1c179881
ACPI / hotplug: Use kobject_init_and_add() instead of _init() and _add()

Use kobject_init_and_add() since we have nothing special to do between
kobject_init() and kobject_add().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sysfs.c