mtd: latch-addr-flash: convert to mtd_device_register()
authorJamie Iles <[email protected]>
Mon, 23 May 2011 09:23:06 +0000 (10:23 +0100)
committerDavid Woodhouse <[email protected]>
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 <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
drivers/mtd/maps/latch-addr-flash.c