commit | eb2533aa09acea832fff82743640ca64e9954305 | [log] [tgz] |
---|---|---|
author | Mario Six <mario.six@gdsys.cc> | Mon Apr 29 01:58:47 2019 +0530 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Mon Jun 10 17:59:48 2019 +0530 |
tree | 8c780b506457555b353aa1ab6e54734ab2be9444 | |
parent | 8d684ec5a00f0e310e067fa22cd6b69f69f52337 [diff] |
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>