gpio/twl4030: get platform data from device tree
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Wed, 5 Sep 2012 07:46:25 +0000 (09:46 +0200)
committerBenoit Cousson <b-cousson@ti.com>
Fri, 7 Sep 2012 17:22:27 +0000 (19:22 +0200)
commitf74ce8fb849e9f9c54a494cff5fc30d53ca4e963
tree4136e8fc03d9aff1155a316c839f69f05f63d25a
parent5635121edb18cda14a60e4702f3ae53add5df894
gpio/twl4030: get platform data from device tree

Adds a number of missing device tree properties for
twl4030/gpio, and update bindings:
- "ti,use-leds"  -> .use_leds
- "ti,debounce"  -> .debounce
- "ti,mmc-cd"    -> .mmc_cd
- "ti,pullups"   -> .pullups
- "ti,pulldowns" -> .pulldowns

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
[b-cousson@ti.com: Fix some checkpatch CHECK issues]
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Documentation/devicetree/bindings/gpio/gpio-twl4030.txt
drivers/gpio/gpio-twl4030.c