commit | 731d43cd6bacd39c39b5c957fa2bb0031bda0dce | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Jan 13 13:20:39 2017 +0000 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Jan 18 10:23:37 2017 +0100 |
tree | 168e2b85062ec22ceb4f4638c70a58d51b6b9cc4 | |
parent | d068b0988a48418a1b6679f5b7d650400846d17f [diff] |
pinctrl: ti-iodelay: remove redundant pin < 0 check on unsigned int pin is an unsigned int and therefore can never be < 0 so this check is redundant. Remove the check and the associated dev_err error message. Fixes CoverityScan CID#1396438 ("Unsigned compared against 0") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>