]> 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)
commit59091379e2aba14a6acf86bf8fc83e5d17d07841
treee4e46105ac35d56744a46704925ea286771935f7
parent517f58127a5ad023b85e6906258230afac319fa6
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