looking for simple module/driver programming examples in source tree

Greg KH greg at kroah.com
Tue May 3 10:11:32 EDT 2011


On Tue, May 03, 2011 at 09:44:47AM -0400, Robert P. J. Day wrote:
> p.s.  on that note, of course, i'm interested in really simple
> examples of drivers that create increasingly complex collections of
> sysfs attr files.  i *really* like to explain stuff like this by being
> able to point at existing drivers in the tree.

Any of the sensor drivers would be good examples of this, they create
loads of sysfs files.

Also please explain that _any_ new sysfs or file that is added, a
corresponding Documentation/ABI/ file needs to be also added.

thanks,

greg k-h



More information about the Kernelnewbies mailing list