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

From: Tudor.Ambarus
Date: Thu Jan 16 2020 - 06:06:58 EST


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@xxxxxxxx>
> ---
> This patch superseeds the following two patches (thus v2):
> https://lore.kernel.org/linux-mtd/20200107222317.3527-1-michael@xxxxxxxx/
> https://lore.kernel.org/linux-mtd/20200107222317.3527-2-michael@xxxxxxxx/
>
> 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