mtd: jz4740_nand: convert to mtd_device_register()
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:23:25 +0000 (10:23 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:23:30 +0000 (02:23 +0100)
commit85358b2aa951ad096af444765baf1e275e8a0749
treec8a44aa1e0fc4555c8c6a3d31cfb01d65731498c
parentc4a5522020ab3842880359aaae4464f08dcc74d5
mtd: jz4740_nand: 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/jz4740_nand.c