spi/orion: Use module_platform_driver()
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 4 Feb 2013 12:26:26 +0000 (09:26 -0300)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 5 Feb 2013 14:44:14 +0000 (14:44 +0000)
This patch reduces and simplifies initalization code by
using module_platform_driver().
With this change it's necessary to remove the __init annotation
to avoid section mismatch warnings.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found