gpio-twl6040: Attend v1 review comments
authorSergio Aguirre <saaguirre@ti.com>
Mon, 7 May 2012 14:08:39 +0000 (09:08 -0500)
committerSergio Aguirre <saaguirre@ti.com>
Mon, 7 May 2012 14:18:28 +0000 (09:18 -0500)
commit017494ae6ab5e4056498754520c45dcd7ad53e0f
tree16c5e2f0f5d9b7f06ac8e29d1d966135d5c76664
parent57710fa964875711a1dbd0260519e6a9f9126da2
gpio-twl6040: Attend v1 review comments

Things fixed:
- Make it clear these are GPOs, not GPIOs.
- Use simpler module_platform_driver helper.
- Fill gpio_chip structure with platform data

Plus, this fixes a bug in the _get bitwise operation.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
drivers/gpio/gpio-twl6040.c