diff options
| author | Mario Six <[email protected]> | 2019-04-29 01:58:47 +0530 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2019-06-10 17:59:48 +0530 |
| commit | 8dea61da199540abc56e397f811f72debdd53d1c (patch) | |
| tree | 8c780b506457555b353aa1ab6e54734ab2be9444 /scripts/basic | |
| parent | 65f88e0408e8ddba827fb9ace1596591365f0b79 (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 <[email protected]>
Acked-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
