]> git.baikalelectronics.ru Git - uboot.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)
commita91c1ef6cb6602cd12b1ae9860b794a8128274cd
tree40a5f41ea4d7c076af52014ad5c1807c84bc10be
parente17dc9227c709bf3c99ac9b096c6c165d3c6c6b5
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