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

2012-11-08 Thread Roland Stigge
Hi Bryan, On 08/11/12 01:28, Bryan Wu wrote: > On Wed, Nov 7, 2012 at 5:06 AM, Roland Stigge 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:

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

2012-11-08 Thread Roland Stigge
Hi Bryan, On 08/11/12 01:28, Bryan Wu wrote: On Wed, Nov 7, 2012 at 5:06 AM, Roland Stigge sti...@antcom.de 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

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

2012-11-07 Thread Bryan Wu
On Wed, Nov 7, 2012 at 5:06 AM, Roland Stigge 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

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

2012-11-07 Thread Roland Stigge
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 ---

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

2012-11-07 Thread Roland Stigge
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

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

2012-11-07 Thread Bryan Wu
On Wed, Nov 7, 2012 at 5:06 AM, Roland Stigge sti...@antcom.de 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