sysfs_create_group()
Hi there,
I have a device with a number of almost identical channels, each with six attributes, so the file and directory entries look like this: Code:
/sys/.../devicename/A/{in0,in1,in2,out1,out2,out3} Device attributes are passed into their store/show functions like this: Code:
static ssize_t store_whatever(struct device *d, struct device_attribute *a, The method I'm using right now is far too complex and too clumsy to be the correct solution! Thanks, Steve |
All times are GMT -5. The time now is 02:42 PM. |