gpio: gpio-twl4030.c: Cleaning up null pointer checks that could never happen
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 26 Jun 2014 16:17:21 +0000 (18:17 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Jul 2014 10:22:55 +0000 (12:22 +0200)
commitfe5e23d3c93525f3aa6e2f2c583c6a1615a339ef
tree3a9853857bccc302e268b41d38aa462152f978c4
parent246a144eed4093befc58e00cf3ba55e647977420
gpio: gpio-twl4030.c: Cleaning up null pointer checks that could never happen

Removal of null pointer checks that could never happen

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/gpio/gpio-twl4030.c