mtd: latch-addr-flash: convert to mtd_device_register()
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:23:06 +0000 (10:23 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:21:59 +0000 (02:21 +0100)
commit902766bfdfdacc01deb6857bada61cd1e5dc40b0
tree58220a5cfc2473cd2db8a0a34758a4fb0270caf6
parent95bf224f6c26e5dc4f411f95bb2efa5487ed57bd
mtd: latch-addr-flash: 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/latch-addr-flash.c