mtd: denali_dt: Use module_platform_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Mar 2013 09:41:12 +0000 (15:11 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 13:04:06 +0000 (14:04 +0100)
commit82fc812ca458a98767b659171a43244dc1ddaf82
tree946d78005e73559035452920cad1bde60fd6f129
parent6c67050ab108bcce2576fa1d7a0557eb0376520a
mtd: denali_dt: Use module_platform_driver()

module_platform_driver() 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/nand/denali_dt.c