gpio: 74x164: Driver cleanup
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 7 Dec 2013 10:08:23 +0000 (14:08 +0400)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Dec 2013 13:28:12 +0000 (14:28 +0100)
commitbcc0562c776e4b09c7b9f24cddb8724fbe7a3fa5
tree44b4671b569138254e39a8b4577e840592742564
parent61e7380403efbaf5f796e8cf979827c602bf6c50
gpio: 74x164: Driver cleanup

- Removed excess "spi" field from private data.
- Removed excess check for spi_get_drvdata() in remove().
- Removed unneeded message in remove().
- Simplify error path in probe().
- Fixed warnings by scripts/checkfile.pl.

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