Hi all,
Currently i am involved in developing a device driver for a custom hardware.
My linux stack already has the sysfs directory structure
/sys/class/hwmon/
My need is that, while loading my device driver i need to create a "xyz" sysfs directory inside
hwmon sysfs directory as shown below
/sys/class/hwmon/xyz/
I came across a function called
class_create_file call using which we can able to create a sysfs file. But, I don't know about a way to create sysfs directory.