Driver Core: add kobj_attribute handling
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:18 +0000 (20:40 -0800)
commit23b5212cc7422f475b82124334b64277b5b43013
tree15be8d1e0f9600d87d28244de865c60e80b3389c
parent6dcec2511ff55b4abaca7ad3433011a7c04c2430
Driver Core: add kobj_attribute handling

Add kobj_sysfs_ops to replace subsys_sysfs_ops. There is no
need for special kset operations, we want to be able to use
simple attribute operations at any kobject, not only ksets.

The whole concept of any default sysfs attribute operations
will go away with the upcoming removal of subsys_sysfs_ops.

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