aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysfs.h
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2010-07-29 01:09:26 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-05 16:53:35 -0400
commit6fd69dc578fa0b1bbc3aad70ae3af9a137211707 (patch)
tree4d89d8103fb68f380cc8ee7addcfb7aa912dbca8 /include/linux/sysfs.h
parentc4945b0d8ce682eb58b82138aaf4ca2e32b0b757 (diff)
sysfs: Remove owner field from sysfs struct attribute
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r--include/linux/sysfs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index 8bf06b64487c..3c92121ba9af 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -22,14 +22,8 @@ struct kobject;
22struct module; 22struct module;
23enum kobj_ns_type; 23enum kobj_ns_type;
24 24
25/* FIXME
26 * The *owner field is no longer used.
27 * x86 tree has been cleaned up. The owner
28 * attribute is still left for other arches.
29 */
30struct attribute { 25struct attribute {
31 const char *name; 26 const char *name;
32 struct module *owner;
33 mode_t mode; 27 mode_t mode;
34#ifdef CONFIG_DEBUG_LOCK_ALLOC 28#ifdef CONFIG_DEBUG_LOCK_ALLOC
35 struct lock_class_key *key; 29 struct lock_class_key *key;