* device_register and device_create_file rules
@ 2013-07-26 19:29 Srinivas Pandruvada
0 siblings, 0 replies; only message in thread
From: Srinivas Pandruvada @ 2013-07-26 19:29 UTC (permalink / raw)
To: Linux Kernel
I am aware that it it is always recommended that attributes must be
associate via attribute groups when calling device_register() .
This way when the device is created, user space can always see
attributes once they get device create notification via uevent.
I have need to create/delete attributes on fly using
device_create_file/device_remove_file. In past several drivers did that.
But with the enforcements of device model for new class of drivers, is
it a big NO? I am not aware of change notification calls other than for
kobject_uevent.
Thanks,
Srinivas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-26 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 19:29 device_register and device_create_file rules Srinivas Pandruvada
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.