diff options
author | Frieder Schrempf <frieder.schrempf@exceet.de> | 2018-08-02 15:53:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-02 17:35:42 +0300 |
commit | b02b17f55b2e789b9747cf4dd2eaaa110439a4cc (patch) | |
tree | d60141e155a240078ad763460a6b5637be03749f /include/linux | |
parent | 5d27a9c8ea9e967d00b92a76d4bb242bf7692f2b (diff) | |
download | linux-b02b17f55b2e789b9747cf4dd2eaaa110439a4cc.tar.xz |
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: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Frieder Schrempf <frieder.schrempf@exceet.de>
Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions