aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorRoland Stigge <[email protected]>2012-10-28 08:34:59 -0700
committerBryan Wu <[email protected]>2012-11-26 14:28:49 -0800
commit04553e925baaa815025c6fd3cdc301a794fa2c74 (patch)
tree39d49a08fca20eccdb2dc308a15e81f41096fc7d /lib/test-string_helpers.c
parente8941928faf248530c0eff95462e9fee0b1cc8da (diff)
leds: leds-gpio: Defer probing in case of deferred gpio probing
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 <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions