]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: mpc8xxx: Document LEN setting better
authorMario Six <mario.six@gdsys.cc>
Sun, 28 Apr 2019 20:28:49 +0000 (01:58 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 10 Jun 2019 12:29:49 +0000 (17:59 +0530)
commit85fa2655302bad69d5c6d19b0e8a6b188c77737d
treef3e298b28c7e4dda81fcaa7e032639b897210beb
parent5ccfb8a9957d1ca67082b80b27d4c9c10fc13ae0
spi: mpc8xxx: Document LEN setting better

Instead of having a table right before the code implementing the length
setting for documentation, have inline comments for the if branches
actually implementing the length setting described table's entries
(which is readable thanks to the set_char_len function).

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