public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Standard handling of boolean attributes in sysfs.
@ 2011-03-21 20:02 Jonathan Cameron
  2011-03-21 20:14 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Cameron @ 2011-03-21 20:02 UTC (permalink / raw)
  To: LKML, Greg KH, David Brownell

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-23 10:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21 20:02 Standard handling of boolean attributes in sysfs Jonathan Cameron
2011-03-21 20:14 ` Greg KH
2011-03-22 10:59   ` Jonathan Cameron
2011-03-22 22:30     ` Greg KH
2011-03-23 10:53       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox