Now you are familiar with the concept of LDM and with its data structures (bus, class, device drivers, and devices), including low-level data structures, which are kobject, kset, and kobj_types, and attributes (or a group of those). How objects are represented within the kernel (hence sysfs and devices topology) is not a secret anymore. You will be able to create an attribute (or group), exposing your device or driver feature through sysfs. If this topic seems clear to you, we will move on to the next, in chapter 14, Pin Control and GPIO Subsystem, which heavily utilizes the power of sysfs.




















































