Skip to content
Unverified Commit b02b17f5 authored by Frieder Schrempf's avatar Frieder Schrempf Committed by Mark Brown
Browse files

mtd: m25p80: Call spi_mem_get_name() to let controller set a custom name



By calling spi_mem_get_name(), the driver of the (Q)SPI controller can
set a custom name for the memory device if necessary.
This is useful to keep mtdparts compatible when controller drivers are
ported from the MTD to the SPI layer.

Suggested-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@exceet.de>
Acked-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5d27a9c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment