mtd: spi-nor: Stop exporting spi_nor_restore()
authorTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 31 Mar 2023 07:46:03 +0000 (07:46 +0000)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Tue, 4 Apr 2023 06:43:50 +0000 (09:43 +0300)
commit7fe1b00d92eaceb83f95200b5114cf5df0919892
treeaf24dca9fc1702c1322b8a02a0c73077d05095e5
parent4e53ab0c292db99eff5dd65670bfdba79bbf338f
mtd: spi-nor: Stop exporting spi_nor_restore()

Some SPI NOR controllers that used this method were moved to
drivers/spi/. We don't accept new support for the existing SPI NOR
controllers drivers under drivers/mtd/spi-nor/controllers/ and we
encourage their owners to move the drivers under drivers/spi/.
Make spi_nor_restore() private as we're going to use it just in core.c.

Link: https://lore.kernel.org/r/20230331074606.3559258-8-tudor.ambarus@linaro.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Documentation/driver-api/mtd/spi-nor.rst
drivers/mtd/spi-nor/core.c
include/linux/mtd/spi-nor.h