gpio: gpiolib-of: Use PTR_ERR_OR_ZERO
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 27 Jan 2014 06:45:08 +0000 (12:15 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 6 Feb 2014 09:33:46 +0000 (10:33 +0100)
PTR_RET is deprecated. Use PTR_ERR_OR_ZERO instead. While at it
also include missing err.h header.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c

Simple merge