diff options
author | Frans Klaver | 2014-09-24 09:55:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-09-28 21:24:06 -0400 |
commit | 13d6ceb4c4fe1e9688e19b15b123b1830c596cf1 (patch) | |
tree | a3e3669c6295641831a9b31e3bd52c8340ec85a1 /CREDITS | |
parent | dc3187564e61260f49eceb21a4e7eb5e4428e90a (diff) |
tty: omap-serial: pull out calculation from baud_is_mode16
To determine the correct divisor, we need to know the difference between
the desired baud rate and the actual baud rate. The calculation for this
difference is implemented twice within omap_serial_baud_is_mode16().
Pull out the calculation for easier maintenance.
While at it, remove the CamelCasing from the variable names.
Signed-off-by: Frans Klaver <frans.klaver@xsens.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions