summaryrefslogtreecommitdiff
path: root/drivers/pwm/tegra_pwm.c
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-04-29 01:58:47 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-06-10 17:59:48 +0530
commit8dea61da199540abc56e397f811f72debdd53d1c (patch)
tree8c780b506457555b353aa1ab6e54734ab2be9444 /drivers/pwm/tegra_pwm.c
parent65f88e0408e8ddba827fb9ace1596591365f0b79 (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>
Diffstat (limited to 'drivers/pwm/tegra_pwm.c')
0 files changed, 0 insertions, 0 deletions