dm: imx: gpio: Support driver model in MXC gpio driver
authorSimon Glass <sjg@chromium.org>
Thu, 2 Oct 2014 01:57:26 +0000 (19:57 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:56 +0000 (10:36 -0600)
commit441d0cfff151852120a04acceffcd79195d36336
tree0d21ba3b75f1de1ec454f26a738d3dfc8ae30a01
parent8f488c1bac744bcaa8558c9d099144ea70e8316d
dm: imx: gpio: Support driver model in MXC gpio driver

Add driver model support with this driver. In this case the platform data
is in the driver. It would be better to put this into an SOC-specific file,
but this is best attempted when more boards are moved over to use driver
model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
drivers/gpio/mxc_gpio.c