mtd: davinci_nand: convert to mtd_device_register()
commit098771158813fb391dd6c1c8b907599db91fb0c7
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:23:18 +0000 (23 10:23 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:23:20 +0000 (25 02:23 +0100)
tree38fd63199da96569e91f6daa8147fd62a258e425
parenta17f7ca510035beee7527f352b3a46fe5dcabce1
mtd: davinci_nand: convert to mtd_device_register()

Convert to mtd_device_register() and remove the check for
mtd_has_partitions() 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/davinci_nand.c