ARM: u300 use module_spi_driver to register driver
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 20 May 2013 20:22:04 +0000 (22:22 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 11:54:34 +0000 (13:54 +0200)
commitbe2885a569f43fa6c44e2a5e1795583ae9941c27
tree9d2d079f96825bcd0e8b6e60badda9695d2af4ba
parentbfbdd91029a36538e43cd32478d405278f66bbb9
ARM: u300 use module_spi_driver to register driver

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 <peterhuewe@gmx.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/dummyspichip.c