ARM: OMAP: mcbsp: Convert core driver to proper platform driver
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 26 Jan 2012 10:38:31 +0000 (12:38 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:19 +0000 (13:34 +0000)
commit0210dc4eafcfd1b38ac178ebf63627f359d6371d
tree1106068c62c7c79e5606193eff1224135a557192
parent0324e02a077de6bffff566fa43fd7b46f4b3ebd8
ARM: OMAP: mcbsp: Convert core driver to proper platform driver

Convert the plat-omap/mcbsp.c driver to be proper platform driver.
Remove the omap_mcbsp_init function call which was called from
mach-omap1/2/mcbsp.c to register the platform driver for the just
created platform device in the same function.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
arch/arm/mach-omap1/mcbsp.c
arch/arm/mach-omap2/mcbsp.c
arch/arm/plat-omap/include/plat/mcbsp.h
arch/arm/plat-omap/mcbsp.c