[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0812092013030.28806@t2.domain.actdsltmp>
Date: Tue, 9 Dec 2008 20:33:47 -0800 (PST)
From: Trent Piepho <tpiepho@...escale.com>
To: Richard Purdie <rpurdie@...ys.net>
cc: Pavel Machek <pavel@...e.cz>, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org, Anton Vorontsov <avorontsov@...mvista.com>
Subject: Re: [PATCH 4/4] leds: Let GPIO LEDs keep their current state
On Wed, 3 Dec 2008, Richard Purdie wrote:
> On Sun, 2008-11-23 at 13:31 +0100, Pavel Machek wrote:
>> On Thu 2008-11-20 17:05:56, Trent Piepho wrote:
>>> I thought of that, but it ends up being more complex. Instead of just
>>> using:
>>> static const struct gpio_led myled = {
>>> .name = "something",
>>> .keep_state = 1,
>>> }
>>>
>>> You'd do something like this:
>>> .default_state = LEDS_GPIO_DEFSTATE_KEEP,
>>>
>>> Is that better?
>>
>> Yes.
>
> Yes, agreed, much better.
Oh very well, I'll change it. But I reserve the right to make a sarcastic
commit message.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists