Re: [PATCH 4/5] driver core: set up ownership of class devices in sysfs

From
Stephen Hemminger <stephen@networkplumber.org>
Date
2016-08-20 02:26:43
Also in
lkml
Reply to
Dmitry Torokhov, 2016-08-16
On Tue, 16 Aug 2016 15:33:14 -0700
Dmitry Torokhov [off-list ref] wrote:
quoted hunk ↗ jump to hunk
 static struct kobj_type device_ktype = {
 	.release	= device_release,
 	.sysfs_ops	= &dev_sysfs_ops,
 	.namespace	= device_namespace,
+	.get_ownership	= device_get_ownership,
 };
 
OT - I wonder if kobj_type could be ro_after_init?
Thread (11 messages) 11 messages, 4 authors, last reply 2016-08-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help