Re: [PATCH RESEND] leds: leds-gpio: Defer probing in case of deferredgpio probing

From: Roland Stigge
Date: Thu Nov 08 2012 - 03:16:03 EST


Hi Bryan,

On 08/11/12 01:28, Bryan Wu wrote:
> On Wed, Nov 7, 2012 at 5:06 AM, Roland Stigge <stigge@xxxxxxxxx> wrote:
>> This patch makes leds-gpio's probe() return -EPROBE_DEFER if any of the gpios
>> to register are deferred themselves. This makes a change of
>> gpio_leds_create_of()'s return value necessary: Instead of returning NULL on
>> error, we now use ERR_PTR() error coding.
>>
>> Signed-off-by: Roland Stigge <stigge@xxxxxxxxx>
>
> Sorry about this, actually I've already merged it into my for-next
> branch and forgot to reply this email.
> It's here: http://git.kernel.org/?p=linux/kernel/git/cooloney/linux-leds.git;a=commitdiff;h=424f58e4cebd76458b44e69ed31f7297808770cd
> So is the same one as here?

Thanks, still the same patch.

Could have seen this in your tree. ;-)

Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/