gpio: mcp23s08: Eliminates redundant checking.
authorMichael Welling <mwelling@ieee.org>
Tue, 10 Jun 2014 18:46:34 +0000 (13:46 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Jul 2014 23:14:06 +0000 (01:14 +0200)
commitef8290ac727b1718417a781412fb6c25e97b5389
treea0a1a122eae9b351cb0ce0884a61e40ab97af4af
parent7171511eaec5bf23fb06078f59784a3a0626b38f
gpio: mcp23s08: Eliminates redundant checking.

Unnecessary checking was added during the merge of the gpio branch.
This patch removes the extra unnecessary checking.

Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mcp23s08.c