Re: [PATCH] arm/mach-u300/dummyspichip: Use module_spi_driver to register driver

2013-05-20 Thread Linus Walleij
On Mon, May 20, 2013 at 10:22 PM, Peter Huewe wrote: > Removing some boilerplate by using module_spi_driver instead of calling > register and unregister in the otherwise empty init/exit functions. > > Signed-off-by: Peter Huewe Applied to my U300 branch for v3.11, thanks! Yours, Linus Walleij

[PATCH] arm/mach-u300/dummyspichip: Use module_spi_driver to register driver

2013-05-20 Thread Peter Huewe
Removing some boilerplate by using module_spi_driver instead of calling register and unregister in the otherwise empty init/exit functions. Signed-off-by: Peter Huewe --- arch/arm/mach-u300/dummyspichip.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/arch/arm