Driver Core: kill subsys_attribute and default sysfs ops
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 2 Nov 2007 12:47:53 +0000 (13:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:22 +0000 (20:40 -0800)
commit000f2a4d8cfc1e1cbc0aa98136015e7ae7719b46
treef501a2d118797a88184a77be089d335c4cc48e88
parent4443d07fcfab39c4d2d9d7711cff983f15b374fc
Driver Core: kill subsys_attribute and default sysfs ops

Remove the no longer needed subsys_attributes, they are all converted to
the more sensical kobj_attributes.

There is no longer a magic fallback in sysfs attribute operations, all
kobjects which create simple attributes need explicitely a ktype
assigned, which tells the core what was intended here.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/file.c
include/linux/kobject.h
lib/kobject.c