KV Sujith 118150f22d gpio: davinci: move to platform device
Modify DaVinci GPIO driver to become a platform device
driver.

The driver does not have platform driver structure or
a probe. Instead, it has pure_initcall function for
initialization. The platform specific informaiton is
obtained using the DaVinci specific davinci_soc_info
structure. This is a problem for Device Tree (DT)
implementation.

As a first stage of DT conversion, we implement a probe.

Additional notes:

- The driver registration happens as  postcore_initcall.
  This is required since machine init functions like
  da850_lcd_hw_init() make use of GPIO.
- Start using devres APIs for simpler error handling.

Signed-off-by: KV Sujith <sujithkv@ti.com>
[avinashphilip@ti.com: Move global definition of
		       "davinci_gpio_controller" to local]
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
[nsekhar@ti.com: drop unused structure member, rebase to new
		 clean-up patch and fix error messages]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
2013-09-24 10:31:51 +05:30
..
2013-09-09 16:35:29 -07:00
2013-09-06 13:30:06 -07:00
2013-09-09 16:35:29 -07:00
2013-09-06 13:34:43 -07:00
2013-09-12 13:59:31 -07:00
2013-09-09 16:35:29 -07:00
2013-09-06 13:21:16 -07:00
2013-08-18 16:34:57 +08:00
2013-09-06 13:26:27 -07:00
2013-09-06 13:21:16 -07:00
2013-09-06 13:21:16 -07:00
2013-09-18 08:16:46 -07:00
2013-09-06 13:21:16 -07:00
2013-09-09 12:05:37 -04:00
2013-09-13 15:09:52 +02:00
2013-09-06 13:21:16 -07:00
2013-08-14 08:14:50 -07:00