]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: mpc8xxx: Simplify if
authorMario Six <mario.six@gdsys.cc>
Sun, 28 Apr 2019 20:28:43 +0000 (01:58 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 10 Jun 2019 12:29:48 +0000 (17:59 +0530)
commit76c82afef353aa4f36a22bf2d2ed5e53bba931f0
tree2b100456c6407810abe96f343944da6e2cdd18c7
parent1a907e41dc194f0887ff4de76c61d5d6f4465d0e
spi: mpc8xxx: Simplify if

Instead of having a nested if block, just have two branches within the
overarching if block to eliminate one nesting level.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/mpc8xxx_spi.c