pinctrl: pinctrl-imx1-core.c: Cleaning up if unsigned is less than zero
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 26 Jun 2014 11:29:49 +0000 (13:29 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:33 +0000 (14:08 +0200)
commit5aa498b95496204d3d9918b5d9287f0a4910a2a1
tree5857230e6075ed858ce28a8e60a20613ad37cfba
parent9eedfd688cb267d0fee06f68cbbddaf94423482e
pinctrl: pinctrl-imx1-core.c: Cleaning up if unsigned is less than zero

Remove checking if a unsigned is less than zero

This was found using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-imx1-core.c