As I keep running into the term kobject
again and again, I finally want to understand what a kobject is good for.
I read some texts that explain what kobject, ktype and kset are. It is quite hard to understand and unfortunately I still don't even see why I would use it at all.
Do you know a good place in Linux code to see how kobjects are used for which purpose?
Understanding why Code X uses a kobject to do Y with Z would be a great help to have a look into said code and understand how this is done.
To clarify my expectation. I do not expect somebody to write code examples for me. I am looking through code files in order to find a hint not only how to create a kobject, but also a practical use that shows why this happens.
I found how-to examples, but I am still missing a this is when kobjects are really handy example.