]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spi-nor: hisi-sfc: Drop nor->erase NULL assignment
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 24 Sep 2019 07:45:50 +0000 (07:45 +0000)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 23 Oct 2019 06:27:20 +0000 (09:27 +0300)
commitc21a792a74a4f393dea4af49ebb4613f6f43b0f0
tree30bb8a93557eddf5bf6da0725afadb05d8befaee
parent6a4c3416a6d071ee998b5d22056985eebd294c96
mtd: spi-nor: hisi-sfc: Drop nor->erase NULL assignment

The pointer to 'struct spi_nor' is kzalloc'ed above in the code.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/mtd/spi-nor/hisi-sfc.c