staging: mt29f_spinand: Use module_spi_driver
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 9 Oct 2013 11:41:37 +0000 (17:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:23:14 +0000 (15:23 -0700)
commit4a54b615005dbc033c8126cd4832bc3bbba4d952
tree834e9b22492117e4913848e9b3ff5aa49c64ca87
parent7a620a650b975cefd1b10b2ed7144b6c480fff12
staging: mt29f_spinand: Use module_spi_driver

module_spi_driver removes the boilerplate code and simplifies it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Henry Pan <hspan@micron.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt29f_spinand/mt29f_spinand.c