diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-10-29 09:19:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-30 00:58:18 +0100 |
commit | 7cf1a122b2f3bda5af837a2dbd7564f695301af0 (patch) | |
tree | fad1ce6ff0303e49852d15ce958cc7f10e31c341 /drivers/ide/sgiioc4.c | |
parent | uio: Pass pointers to virt_to_page(), not integers (diff) | |
download | linux-7cf1a122b2f3bda5af837a2dbd7564f695301af0.tar.xz linux-7cf1a122b2f3bda5af837a2dbd7564f695301af0.zip |
w1-gpio: Detect of_gpio_error for first gpio
The first DT gpio is necessary for this driver, but errors returned for
of_get_gpio are ignored.
This patch adds a return value check for the first of_get_gpio.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/sgiioc4.c')
0 files changed, 0 insertions, 0 deletions