mtd: physmap: convert to mtd_device_register()
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:22:45 +0000 (10:22 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:15:37 +0000 (02:15 +0100)
commit984e6d8ec5abe0487e4c3c22d233cd6ba8695cda
treecc9152e7b1e2a1598fd68f4dcac34da5c4f1035c
parent11b73c8b10e58ae90c12e51be5531007e86a9c66
mtd: physmap: convert to mtd_device_register()

Convert to mtd_device_register() and remove the CONFIG_MTD_PARTITIONS
preprocessor conditionals as partitioning is always available.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/physmap.c
drivers/mtd/maps/physmap_of.c
include/linux/mtd/physmap.h