Commit 7d8dd20e56be0196fd015feb19ca38449c607794
Committed by
Linus Walleij
1 parent
5f007db68c
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
pinctrl: SPEAr: Update error check for unsigned variables
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/pinctrl/spear/pinctrl-plgpio.c