mtd: drop mtd_device_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 23 Jun 2011 11:33:15 +0000 (15:33 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:13 +0000 (15:02 +0300)
commit15c60a508ab3393e68b7ccb3528981ccacf9c0f9
tree4b1ac9a68e6c9f9c56aa51954f839b65fd39989d
parent953b3bd1911260b8acd8f35fa26440c1a943e59a
mtd: drop mtd_device_register

mtd_device_register() is a limited version of mtd_device_parse_register.
Replace it with macro calling mtd_device_parse_register().

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/mtdcore.c
include/linux/mtd/mtd.h