mtd: davinci_nand: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 04:31:47 +0000 (13:31 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:14:42 +0000 (13:14 +0100)
commit97135118bd6a5fb86a7e3a28a50de10b97192ced
treebd68e8a0b2eccc56132f39261f6336c88db1f71a
parent3a2a13fa902d232a1e56582647aed6cb2591349b
mtd: davinci_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/davinci_nand.c