summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-davinci.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-02-04 16:26:26 +0400
committerGrant Likely <grant.likely@secretlab.ca>2013-02-05 18:44:14 +0400
commit41ab724aac00cae42e649496c2567e9ef45dd753 (patch)
tree0e181cbc48204261ac50734418ac6cddac99e115 /drivers/spi/spi-davinci.c
parentc0fde3ba0e03af30f9fa9cdf180442189b3f7e9c (diff)
downloadlinux-41ab724aac00cae42e649496c2567e9ef45dd753.tar.xz
spi/orion: Use module_platform_driver()
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>
Diffstat (limited to 'drivers/spi/spi-davinci.c')
0 files changed, 0 insertions, 0 deletions