]> 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, 27 Apr 2012 06:02:19 +0000 (09:02 +0300)
commitfa9d2c35d5a1f5f65f18df8352a0494e0e6fbb6d
treef2f3996a89e321b9301f9c98a1d92c39efb2343a
parent8d3dbef3928825ca05350abd06706b03722d32e5
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