mtd: gpmi-nand: Convert to module_platform_driver()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 5 Sep 2012 14:35:24 +0000 (11:35 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:43:01 +0000 (15:43 +0100)
commit490e280a69cb0707ccb4c7e0c5c0be02d8ae102c
treea6d8889ab0c160c5f96e2117793f278cd7463f81
parent3d10095a941a29253102625d8710fe31a1a24b56
mtd: gpmi-nand: Convert to module_platform_driver()

Using module_platform_driver() makes the code smaller and cleaner.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c