pinctrl: pinctrl-at91.c: Cleaning up if unsigned is less than zero
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 26 Jun 2014 11:26:45 +0000 (13:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:32 +0000 (14:08 +0200)
commitca7162add9dc0b361cbf51084591c64db37199d8
treeae351aac7822c93127a2b5691583351a194b576d
parent8708ebca7464af80accd52c6e1a1cf882593a4ab
pinctrl: pinctrl-at91.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-at91.c