mtd: sh_flctl: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 04:30:56 +0000 (13:30 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:14:37 +0000 (13:14 +0100)
commit14ec6dae5b311eae8c14352112dc83cce507cf9c
treeb0b8fcd664400525f36a7383845bdefe17e3d7cb
parent307d2a5156eb5778fbc1fc29b0e31d34de9efcfc
mtd: sh_flctl: 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/sh_flctl.c