LED devices

Kay Sievers kay.sievers at vrfy.org
Fri Jun 1 08:00:36 PDT 2007

On Fri, 2007-06-01 at 15:55 +0100, Richard Purdie wrote:
> On Fri, 2007-06-01 at 16:49 +0200, Kay Sievers wrote:
> > No, that day is now. :) Just convert the led-class to "struct device",
> > it is currently using the deprecated class_device-interface. You will
> > get the devices in /sys/devices for free then.
> > 
> > If the driver that requests the led device, specifies a parent for the
> > device (which the led class hopefully already allows), the led
> > device-directory will show up in /sys/devices instead of /sys/class,
> > like almost all other class devices already do today. 
> > 
> > The devpath of the led device would contain all parents that belong to
> > the device, like Johannes pointed out, this sort of information is
> > absolutely needed in HAL to get the correct dependency in the device
> > tree.
> > 
> > So, it's not another day, it's now. :)
> I've already agreed to this elsewhere in the past and I haven't
> forgotten. I just need to find the time to do it and then test the
> result. I will convert the backlight class at the same time.

Oh sure, I was just trying to make fun of (the other) Richard's: "but
for another day".

Thanks and thanks,

More information about the hal mailing list