]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: rc5t583: Remove redundant check
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 13:24:07 +0000 (17:24 +0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Feb 2014 13:51:49 +0000 (14:51 +0100)
commit07de2cb080ba7c4408518bbdd91a48275693b61a
tree4fec7b9172e3e8b1f08bd0dee0442ab2e3120da8
parentcaf6c12a6139ca9f7789c74f9fec9e73067cb84a
gpio: rc5t583: Remove redundant check

Variable "offset" cannot be negative, so no need to check if it
greater than zero or equal.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rc5t583.c