diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-02-04 16:26:26 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-02-05 18:44:14 +0400 |
commit | 41ab724aac00cae42e649496c2567e9ef45dd753 (patch) | |
tree | 0e181cbc48204261ac50734418ac6cddac99e115 /drivers/spi/spi-davinci.c | |
parent | c0fde3ba0e03af30f9fa9cdf180442189b3f7e9c (diff) | |
download | linux-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