mtd: spi-nor: remove .setup() callback
authorMichael Walle <mwalle@kernel.org>
Fri, 19 Apr 2024 14:12:46 +0000 (16:12 +0200)
committerPratyush Yadav <pratyush@kernel.org>
Mon, 27 May 2024 15:07:15 +0000 (17:07 +0200)
commitd323a41884a9ec062f07c47436a1fbaf50918d68
tree4b692f93099a8f0345881565b6c75bb8077ddffc
parent9539d12d9f5242133ed614d72c82041ab71842a9
mtd: spi-nor: remove .setup() callback

With the removal of the Xilinx flashes, there is no more flash driver
using that hook. The original intention was to let the driver configure
special requirements like page size an opcodes.  This is already
possible by other means and it is unlikely a flash will overwrite the
(more or less complex) setup function.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Acked-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20240419141249.609534-4-mwalle@kernel.org
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h