diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-02 23:19:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-25 04:40:23 (GMT) |
commit | 99e0d2fc6c60ca44f56203eeda9fc0e07b508f06 (patch) | |
tree | adb8b295ef827d15a01595c451a1891e28801fd4 /drivers/acpi/system.c | |
parent | 9651d350ab2c1b9ef1875be2a9def1c375e6503f (diff) | |
download | linux-99e0d2fc6c60ca44f56203eeda9fc0e07b508f06.tar.xz |
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 edee280..c22b93a 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) |