mtd: nand/gpio: Convert to module_platform_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 5 Sep 2012 10:01:32 +0000 (15:31 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:44:02 +0000 (15:44 +0100)
commit2fe87aef33b77d66fada83f5dc57b6798ad5df07
treec8b0b555bb875111b835a379826a8ffd21e8a8fa
parent24b82d3c350dfc16cd4a7de87ca0959ff5fbaa15
mtd: nand/gpio: Convert to module_platform_driver()

module_platform_driver simplifies the code by eliminating
module_init and module_exit calls.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpio.c