diff options
author | 2012-10-28 08:34:59 -0700 | |
---|---|---|
committer | 2012-11-26 14:28:49 -0800 | |
commit | 04553e925baaa815025c6fd3cdc301a794fa2c74 (patch) | |
tree | 39d49a08fca20eccdb2dc308a15e81f41096fc7d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | leds: ledtrig-gpio: replace strict_strtoul() with kstrtoul() (diff) | |
download | wireguard-linux-04553e925baaa815025c6fd3cdc301a794fa2c74.tar.xz wireguard-linux-04553e925baaa815025c6fd3cdc301a794fa2c74.zip |
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 <stigge@antcom.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions