aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/system.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-02 19:19:59 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:23 -0500
commit99e0d2fc6c60ca44f56203eeda9fc0e07b508f06 (patch)
treeadb8b295ef827d15a01595c451a1891e28801fd4 /drivers/acpi/system.c
parent9651d350ab2c1b9ef1875be2a9def1c375e6503f (diff)
kobject: convert /sys/firmware/acpi/ to use kobject_create
We don't need a kset here, a simple kobject will do just fine, so dynamically create the kobject and use it. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi/system.c')
-rw-r--r--drivers/acpi/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c
index edee2806e37b..c22b93aab7fe 100644
--- a/drivers/acpi/system.c
+++ b/drivers/acpi/system.c
@@ -135,7 +135,7 @@ static int acpi_system_sysfs_init(void)
135 int table_index = 0; 135 int table_index = 0;
136 int result; 136 int result;
137 137
138 tables_kobj.parent = &acpi_subsys.kobj; 138 tables_kobj.parent = acpi_kobj;
139 kobject_set_name(&tables_kobj, "tables"); 139 kobject_set_name(&tables_kobj, "tables");
140 result = kobject_register(&tables_kobj); 140 result = kobject_register(&tables_kobj);
141 if (result) 141 if (result)