gpio: gpio-ucb1400.c: Cleaning up null pointer checks that could never happen
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 26 Jun 2014 16:18:51 +0000 (18:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Jul 2014 10:22:55 +0000 (12:22 +0200)
commit31a3f9da4e2d6a58d562aea608edab79c48bec34
treeec1466b805f57239dd34b4492722f053341ad11f
parentfe5e23d3c93525f3aa6e2f2c583c6a1615a339ef
gpio: gpio-ucb1400.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-ucb1400.c