mtd: diskonchip: convert to mtd_device_register()
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:23:19 +0000 (10:23 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:23:21 +0000 (02:23 +0100)
commit0f47e952fe8b9eb67c24b96e7c48c075657634ba
treea792ba834246fd2cd4575e171731ca7205ab719b
parent098771158813fb391dd6c1c8b907599db91fb0c7
mtd: diskonchip: 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/nand/diskonchip.c