spi: omap2-mcspi: make it behave as a module
authorFelipe Balbi <balbi@ti.com>
Wed, 14 Mar 2012 09:18:30 +0000 (11:18 +0200)
committerShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 19 Mar 2012 12:37:38 +0000 (18:07 +0530)
commit7d6b6d83139d0eab087645edc8c3f6b4b3cef34d
tree5b08b6e2461db5232a63e2d119881e933ff6371b
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7
spi: omap2-mcspi: make it behave as a module

move probe away from __init section and use
platform_driver_register() instead of
platform_driver_probe().

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
drivers/spi/spi-omap2-mcspi.c