]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cf6a51ab167eedb5554571e7b3c213030fd93ea
treee4e46105ac35d56744a46704925ea286771935f7
parent309d1b3490f24f6e2a8552c8694215577b5aa69f
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