Messages in this thread | | | Date | Mon, 21 Mar 2011 20:02:40 +0000 | From | Jonathan Cameron <> | Subject | Standard handling of boolean attributes in sysfs. |
| |
Hi All,
Just wondering what the feeling would be about having a utility function similar to sysfs_streq to provide a consistent option for all those sysfs attributes out there where
1, on, true -> 1 0, off, false -> 0
Or does such a beast already exist and I'm just being unobservant?
Jonathan
| |