mtd: convert drivers/mtd/* to use module_spi_driver()
authorAxel Lin <axel.lin@gmail.com>
Fri, 27 Jan 2012 07:45:20 +0000 (15:45 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:16:18 +0000 (00:16 +0100)
commitc9d1b752937244d77d98bbd8e7f486bb715bec50
treee4e46105ac35d56744a46704925ea286771935f7
parentdf698621a5b39ced5ce527444cafd50c6fdc186d
mtd: convert drivers/mtd/* to use module_spi_driver()

This patch converts the drivers in drivers/mtd/* to use the
module_spi_driver() macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c
drivers/mtd/devices/mtd_dataflash.c
drivers/mtd/devices/sst25l.c