aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-06-07 15:24:58 +0000
committerMiquel Raynal <[email protected]>2022-06-09 13:06:38 +0000
commit6f6536a0e309177882975222d73984d1b5ad3bdd (patch)
tree0d69a4d8b44838c99df0fffc8bc431ea1e21f90e /drivers/fpga/machxo2-spi.c
parentmtd: st_spi_fsm: Disable clock only after device was unregistered (diff)
downloadkernel-6f6536a0e309177882975222d73984d1b5ad3bdd.tar.gz
kernel-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 <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions