CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS.
authorJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 09:24:41 +0000 (10:24 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:16:45 +0000 (11:16 +0100)
Clean up issues noticed by Andrew Morton:

- Use a combined struct for allocating the mtd_info and nand_chip structs
  instead of using anonymous memory as the example in
  Documentation/DocBook/mtdnand.tmpl
- Use kzalloc instead of using kmalloc/memset(0)
- Make crisv32_device_ready static.


No differences found