Re: [PATCH] spi: orion: Use module_platform_driver()

2013-02-05 Thread Grant Likely
On Mon, 4 Feb 2013 09:26:26 -0300, Ezequiel Garcia wrote: > 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 Appl

[PATCH] spi: orion: Use module_platform_driver()

2013-02-04 Thread Ezequiel Garcia
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 --- drivers/spi/spi-orion.c | 15 +++ 1 files changed, 3 insert