summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/parsers
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-06-07 17:24:58 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-06-09 15:06:38 +0200
commit6f6536a0e309177882975222d73984d1b5ad3bdd (patch)
tree0d69a4d8b44838c99df0fffc8bc431ea1e21f90e /drivers/mtd/parsers
parentmtd: st_spi_fsm: Disable clock only after device was unregistered (diff)
downloadlinux-6f6536a0e309177882975222d73984d1b5ad3bdd.tar.xz
linux-6f6536a0e309177882975222d73984d1b5ad3bdd.zip
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
Diffstat (limited to 'drivers/mtd/parsers')
0 files changed, 0 insertions, 0 deletions