Uwe Kleine-König 6f6536a0e3 mtd: st_spi_fsm: Simplify error checking in .probe() a bit
Instead of ending each if branch with the same check, do it once
unconditionally after the if block.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220607152458.232847-5-u.kleine-koenig@pengutronix.de
2022-06-09 15:06:38 +02:00
..
2020-08-27 14:16:31 +02:00
2022-03-25 13:35:34 -07:00
2022-03-25 13:35:34 -07:00
2019-01-08 12:42:57 +01:00
2022-05-16 18:37:48 +02:00