]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92afc596c7304a03b83daded3ffb08923c621d09
treed5d3a956351450a956d27cdce398909fed059c6e
parentd88512e4c3d2b456d869ca49f499d25211963e72
gpio: gpiolib-of: Use PTR_ERR_OR_ZERO

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