diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-03 00:19:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-25 05:40:23 +0100 |
commit | 99e0d2fc6c60ca44f56203eeda9fc0e07b508f06 (patch) | |
tree | adb8b295ef827d15a01595c451a1891e28801fd4 /drivers/acpi/system.c | |
parent | kset: convert edd to use kset_create (diff) | |
download | linux-99e0d2fc6c60ca44f56203eeda9fc0e07b508f06.tar.xz linux-99e0d2fc6c60ca44f56203eeda9fc0e07b508f06.zip |
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.c | 2 |
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) int table_index = 0; int result; - tables_kobj.parent = &acpi_subsys.kobj; + tables_kobj.parent = acpi_kobj; kobject_set_name(&tables_kobj, "tables"); result = kobject_register(&tables_kobj); if (result) |