spi: omap3: Convert to driver model
authorJagan Teki <jteki@openedev.com>
Mon, 14 Mar 2016 17:11:24 +0000 (22:41 +0530)
committerJagan Teki <jteki@openedev.com>
Mon, 14 Mar 2016 17:16:28 +0000 (22:46 +0530)
commit77b8d04854f486741471ad02b93b473b5b3d72f8
tree01f3997809bb696ccb291f27bb5a9bce2aa66916
parent03661d85f06eae6a6ae3a126a4dcb16ee8ab052c
spi: omap3: Convert to driver model

After this conversion the driver will able to support both dm and non-dm
and code is more extensible like we can remove the non-dm part simply
without touching anycode if all the boards which are using this driver
become dm driven.

Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
Tested-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
[Set priv->wordlen, Add Kconfig entry and file credit for dm conversion]
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
drivers/spi/Kconfig
drivers/spi/omap3_spi.c