mtd: spi-nor: embed struct mtd_info within struct spi_nor
authorBrian Norris <computersforpeace@gmail.com>
Thu, 13 Aug 2015 22:46:05 +0000 (15:46 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 2 Sep 2015 21:11:40 +0000 (14:11 -0700)
commit1976367173a47f801c67b5f456922d79c60d0d42
tree55a67d031aa49b5a072201522b2e2153a76b62ad
parenta39f1d5e4303f535840a44eee87326fd9743de7c
mtd: spi-nor: embed struct mtd_info within struct spi_nor

This reflects the proper layering, so let's do it.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Joachim Eastwood <manabian@gmail.com>
drivers/mtd/devices/m25p80.c
drivers/mtd/spi-nor/fsl-quadspi.c
drivers/mtd/spi-nor/nxp-spifi.c
drivers/mtd/spi-nor/spi-nor.c
include/linux/mtd/spi-nor.h