]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kobject: convert /sys/hypervisor to use kobject_create
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Nov 2007 15:29:06 +0000 (09:29 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:15 +0000 (20:40 -0800)
commit2d72fc00a1fb055e6127ccd30cac3f0eafaa98d0
tree2a6850d91f28f1adf9223d14fc3bdee8f793b3e3
parent881c6cfd7c5edfe6129006e2404654bfe5911050
kobject: convert /sys/hypervisor 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.

We also rename hypervisor_subsys to hypervisor_kset to catch all users
of the variable.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/s390/hypfs/inode.c
drivers/base/hypervisor.c
include/linux/kobject.h