LED devices

Richard Hughes hughsient at gmail.com
Wed May 30 07:46:45 PDT 2007


On Wed, 2007-05-30 at 16:36 +0200, Danny Kukawka wrote:
> On Mittwoch, 30. Mai 2007, Richard Hughes wrote:
> > On Wed, 2007-05-30 at 14:49 +0200, Danny Kukawka wrote:
> > > The new would be (as Richard P. proposed):
> > > /sys/class/leds/devicename:colour:function
> > >
> > > the current is:
> > > /sys/class/leds/devicename:colour
> >
> > Breaking API, and any code that's doing sscanf("%s:%s"...
> 
> API in sysfs? There is no real API in sysfs, otherwise it wouldn't break 
> something with nearly every new kernel release.

Point taken, but I don't think we should design something to be as easy
as this to break, nor use the argument that it _can_ break so it's okay
to do _actively_ break it.

Richard.



More information about the hal mailing list