]> git.karo-electronics.de Git - linux-beck.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)
commitbea4dbee952ac7a03885646de3247685dabad972
treed5d3a956351450a956d27cdce398909fed059c6e
parentbdb93c03c5503aba9a6d98d49e543d879d85d0c4
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