]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Get rid of the spi_flash_read() API
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 26 Apr 2018 16:18:20 +0000 (18:18 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 11 May 2018 02:34:41 +0000 (11:34 +0900)
commitebe29f952e563844eefcef2c7a2b80395b1e7836
treec1f16aa5e6a6555ef8e5bf9015e9300f31466ae7
parenta4cd3148e06330b933ce1f877675108ad7b773b0
spi: Get rid of the spi_flash_read() API

This API has been replaced by the spi_mem_xx() one, its only user
(spi-nor) has been converted to spi_mem_xx() and all SPI controller
drivers that were implementing the ->spi_flash_xxx() hooks are also
implementing the spi_mem ones. So we can safely get rid of this API.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@exceet.de>
Tested-by: Frieder Schrempf <frieder.schrempf@exceet.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ti-qspi.c
drivers/spi/spi.c
include/linux/spi/spi.h