[PATCH v2] mtd: spi-nor: remove unused enum spi_nor_ops

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Thu Jan 16 03:06:54 PST 2020


On Tuesday, January 14, 2020 12:32:48 AM EET Michael Walle wrote:
> The ops aren't used in any SPI controller. Therefore, remove them

substituted SPI/SPI-NOR because the controller_ops struct is specific just for 
the SPI-NOR controllers.

> altogether.
> 
> Signed-off-by: Michael Walle <michael at walle.cc>
> ---
> This patch superseeds the following two patches (thus v2):
> https://lore.kernel.org/linux-mtd/20200107222317.3527-1-michael@walle.cc/
> https://lore.kernel.org/linux-mtd/20200107222317.3527-2-michael@walle.cc/
> 
>  drivers/mtd/spi-nor/aspeed-smc.c      |  4 +--
>  drivers/mtd/spi-nor/cadence-quadspi.c |  4 +--
>  drivers/mtd/spi-nor/hisi-sfc.c        |  4 +--
>  drivers/mtd/spi-nor/spi-nor.c         | 36 +++++++++++++--------------
>  include/linux/mtd/spi-nor.h           | 12 ++-------
>  5 files changed, 26 insertions(+), 34 deletions(-)

Applied to spi-nor/next.

Thanks,
ta




More information about the linux-mtd mailing list