mtd: spear_smi: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 18:39:59 +0000 (19:39 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 15 Nov 2012 13:37:48 +0000 (15:37 +0200)
commita90019e25e0caed04d3704235b5ea984aaa28da8
tree777f0020eb32e0aa47dd0e95b1e2d5e9bb5b3d4b
parent2f25ae97fe4b424d88d765797c46456c7c0f1bae
mtd: spear_smi: use module_platform_driver macro

This patch removes some code duplication by using
module_platform_driver.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/devices/spear_smi.c