ARM: davinci: da8xx: support gpio platform device
authorKV Sujith <sujithkv@ti.com>
Sun, 18 Aug 2013 05:18:59 +0000 (10:48 +0530)
committerSekhar Nori <nsekhar@ti.com>
Tue, 24 Sep 2013 05:18:44 +0000 (10:48 +0530)
commitf606d38de74a2f2d43d4a57317aaa8f05809fdef
tree17a92c10af8cd437090453952dc336d1cb2ef045
parent118150f22d6b4431a1fe2e715de314a5d93836f5
ARM: davinci: da8xx: support gpio platform device

DaVinci GPIO driver now uses platform device model.
Convert DA8XX SoC code to use the new model.

Add da8xx_register_gpio() to create platform device for da8xx
platforms.

Signed-off-by: KV Sujith <sujithkv@ti.com>
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
[nsekhar@ti.com: simplify commit message]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
arch/arm/mach-davinci/da830.c
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/include/mach/da8xx.h