mtd: spi-nor: spansion: return method directly
authorTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 21 Jul 2023 17:09:11 +0000 (20:09 +0300)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Sat, 22 Jul 2023 08:17:07 +0000 (11:17 +0300)
commitabfac0f3a457dab837fc74e47f00d829976fb0a6
tree030d12bc5fb884fcf1241427b78e2009669f9283
parentd4996700abc18efcd7d933ecfbc5f066153e74ff
mtd: spi-nor: spansion: return method directly

Remove unnecessary handling of method's return code and return the
method directly.

Link: https://lore.kernel.org/r/20230721170911.13502-1-tudor.ambarus@linaro.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/spansion.c