Skip to content
Advertisement

Tag: sysfs

sysfs_create_group(): Where to call?

currently i write an driver module which offers some entries in the sysfs. I read a lot through the driver source tree and the internet. I found two approches where the sysfs_create_group() is called: a) most commonly: In the probe() function of the Driver. Like adviced here How to attach file operations to sysfs attribute in platform driver? Random Thing

Advertisement