]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: spi-nor: fill-in mtd->dev member
authorMarek Behún <marek.behun@nic.cz>
Wed, 26 May 2021 12:08:21 +0000 (14:08 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Jun 2021 06:23:50 +0000 (11:53 +0530)
commit2d1a9a6b265f79be495201dadf7f3aa315b8a5e3
tree40a5f41ea4d7c076af52014ad5c1807c84bc10be
parentb7f060565e3161f8977a3a93e4b31ed6031af874
mtd: spi-nor: fill-in mtd->dev member

Fill in mtd->dev member with nor->dev.

This can be used by MTD OF partition parser.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mtd/spi/sf_mtd.c
drivers/mtd/spi/spi-nor-core.c
drivers/mtd/spi/spi-nor-tiny.c