imx: serial: use rational library function
commit534fca068ec8063ec8b67626b3eb34ba6ec86967
authorOskar Schirmer <os@emlix.com>
Thu, 11 Jun 2009 13:52:23 +0000 (11 14:52 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:08 +0000 (11 08:51 -0700)
tree576daa60818342ba8eedbe8d01300b9b59511288
parent8759ef32d992fc6c0bcbe40fca7aa302190918a5
imx: serial: use rational library function

for calculation of numerator and denominator
used in baud rate setting, use generic library function
for optimum settings.

Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/Kconfig
drivers/serial/imx.c