pinctrl: samsung: Update error check for unsigned variables
authorTushar Behera <tushar.behera@linaro.org>
Mon, 19 Nov 2012 00:45:19 +0000 (09:45 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 Nov 2012 01:03:35 +0000 (10:03 +0900)
commit4a991b410cd7940c48f261e854e8698923e23fd2
tree0c88407553fd49054c1701fe9a156e573dd3bb0e
parent6edc794a5ff245faf60488d32e9fdbeb0aad2223
pinctrl: samsung: Update error check for unsigned variables

Checking '< 0' for unsigned variables always returns false. For error
codes, use IS_ERR_VALUE() instead.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/pinctrl/pinctrl-samsung.c