]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11d126520662f67ee1f82fbf77dd99685fde5bb6
tree1771219c4d30e026e0e5504045d3268602e6b03b
parent0c28f9324fdacdff20afa07f57520c06eb639064
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