kset: convert /sys/devices to use kset_create
commit881c6cfd7c5edfe6129006e2404654bfe5911050
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Nov 2007 15:29:06 +0000 (1 09:29 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:15 +0000 (24 20:40 -0800)
treecb8fa388d2b7c833d77e6ac4957310844a4e96af
parentb0d78e5549b44b3d64bf8b3ffe95280025ed102e
kset: convert /sys/devices to use kset_create

Dynamically create the kset instead of declaring it statically.  We also
rename devices_subsys to devices_kset to catch all users of the
variable.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/base.h
drivers/base/core.c
drivers/base/power/shutdown.c
drivers/base/sys.c