Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fd69dc5 authored by Guenter Roeck's avatar Guenter Roeck Committed by Greg Kroah-Hartman
Browse files

sysfs: Remove owner field from sysfs struct attribute

parent c4945b0d
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -22,14 +22,8 @@ struct kobject;
struct module;
struct module;
enum kobj_ns_type;
enum kobj_ns_type;


/* FIXME
 * The *owner field is no longer used.
 * x86 tree has been cleaned up. The owner
 * attribute is still left for other arches.
 */
struct attribute {
struct attribute {
	const char		*name;
	const char		*name;
	struct module		*owner;
	mode_t			mode;
	mode_t			mode;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
#ifdef CONFIG_DEBUG_LOCK_ALLOC
	struct lock_class_key	*key;
	struct lock_class_key	*key;