summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/hwtest.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-09 12:22:56 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-07-17 21:00:20 +0200
commite93545763021988def06fbda28fe5da133589a96 (patch)
tree8dcadb5c002f4b53009afb38bec7d3c6cf92cbb2 /arch/m68k/include/asm/hwtest.h
parent6d9947101616b2681879c0f8f95415897470be44 (diff)
gpiolib: Defer failed gpio requests by default
Since users must be explicitly provided with a GPIO number in order to request one the overwhelmingly common case for failing to request will be that the required GPIO driver has not yet registered and we should therefore defer until it has registered. In order to avoid having to code this logic in individual drivers have gpio_request() return -EPROBE_DEFER when failing to look up the GPIO. Drivers which don't want this behaviour can override it if they desire. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/m68k/include/asm/hwtest.h')
0 files changed, 0 insertions, 0 deletions