mtd: omap2: Use module_platform_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Mar 2013 11:16:50 +0000 (16:46 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 13:05:32 +0000 (14:05 +0100)
commitcdb6404cc53a166a1e3b0179bd8d1f4070beff41
tree54faf82f4fb15d2b68f61d9895b121280db90d25
parent5884974eda0f7fa59d8a1a8e06169f0a2dba6bf3
mtd: omap2: Use module_platform_driver()

module_platform_driver macro removes some boilerplate and makes the
code simpler.

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/onenand/omap2.c