]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Tue, 3 Apr 2012 01:59:44 +0000 (09:59 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 13 Apr 2012 17:03:12 +0000 (20:03 +0300)
commit64aad04dc3ecf3881b23ae1bf9d90c67aebcdabc
tree969aa7fe4d2a5457a316247d2a130989c7e93551
parenteb1bdfc4077864b56a0002577bd0bb75a02b14a4
mtd: use module_pci_driver

This patch converts the drivers in drivers/mtd/* to use module_pci_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>
drivers/mtd/maps/intel_vr_nor.c
drivers/mtd/maps/pci.c
drivers/mtd/maps/scb2_flash.c
drivers/mtd/nand/cafe_nand.c
drivers/mtd/nand/denali.c
drivers/mtd/nand/r852.c