pinctrl: pinctrl-st.c: Cleaning up if unsigned is less than zero
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 26 Jun 2014 11:32:49 +0000 (13:32 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:33 +0000 (14:08 +0200)
commit8b0c107ce049ddaf0ca9d8cd4faac1cf5c1e9f20
treee0b8a9a1e059c98e11e99ced6642710f97865450
parent5aa498b95496204d3d9918b5d9287f0a4910a2a1
pinctrl: pinctrl-st.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>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-st.c