mtd: orion_nand: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 04:29:20 +0000 (13:29 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:14:29 +0000 (13:14 +0100)
commitd9ba31092cf6652381d09d3e9cdbd4eb60d2c8cf
tree160e283748f057f40efca2761c34686aaed35e1d
parent725a2277f8b537a932bffb4c4bb2288d05c84a74
mtd: orion_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/orion_nand.c