ACPI / hotplug: Set kobject name via kobject_add(), not kobject_set_name()
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 25 Sep 2013 20:23:04 +0000 (14:23 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Sep 2013 17:58:18 +0000 (19:58 +0200)
commit9b5b06740194c8fa1cddb3aa5fe69fd6f5199bc4
tree0277f62f309c3f8375380aa0c68dacae99cc1012
parent6dedcca610c6d6189b4a54d32118d1654adb73d2
ACPI / hotplug: Set kobject name via kobject_add(), not kobject_set_name()

Set the kobject name via kobject_add() instead of using kobject_set_name(),
which is deprecated per Documentation/kobject.txt.

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