Mario Six 8dea61da19 spi: mpc8xxx: Make code more readable
Introduce the to_prescale_mod and set_char_len inline functions to make
the code more readable.

Note that the added "if (bitlen > 16)" check does not change the
semantics of the current code, and hence only preserves the current
error (this will be fixed in a later patch in the series).

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
2019-06-10 17:59:48 +05:30
..
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-05-15 07:10:32 -04:00
2018-11-27 21:06:53 +05:30
2019-04-17 17:43:19 +05:30
2018-12-03 10:44:10 -05:00
2018-11-27 21:06:53 +05:30
2018-10-09 04:40:27 -06:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-04-12 16:09:13 +02:00
2019-04-17 17:43:54 +05:30