mtd: atmel_nand: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 04:30:04 +0000 (13:30 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:14:31 +0000 (13:14 +0100)
commitc5345edf7b25625bc4205319fa8842c7063d14b3
treeae5fd3a4be9813f48ef8360c287694438d09d583
parentd9ba31092cf6652381d09d3e9cdbd4eb60d2c8cf
mtd: atmel_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/atmel_nand.c