]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b26c2a3648c66049a7c3d59733a03ff057c261c
tree44b4671b569138254e39a8b4577e840592742564
parentae01db2d635f97eb8fc2762f9895bcbd46c91a52
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