mtd: fsmc_nand: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 04:30:36 +0000 (13:30 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:14:34 +0000 (13:14 +0100)
commit307d2a5156eb5778fbc1fc29b0e31d34de9efcfc
tree83a6d9ed2173d2d0eef0ddac2bd8df783db04e06
parentc5345edf7b25625bc4205319fa8842c7063d14b3
mtd: fsmc_nand: use module_platform_driver_probe()

This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c