pinctrl: SPEAr: Update error check for unsigned variables
authorTushar Behera <tushar.behera@linaro.org>
Fri, 16 Nov 2012 06:50:39 +0000 (12:20 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Nov 2012 07:33:41 +0000 (08:33 +0100)
Checking '< 0' for unsigned variables always returns false. For error
codes, use IS_ERR_VALUE() instead.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found