tty: ar933x_uart: use the clk API to get the uart clock
authorGabor Juhos <juhosg@openwrt.org>
Wed, 28 Aug 2013 08:09:28 +0000 (10:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 23:00:42 +0000 (16:00 -0700)
commit15ef17f622033455dcf03ae96256e474073a7b11
treef3b0b6f88fffa9e9be3395d7b4d655767a608194
parenta416bfa2a6b4e00a7bc69641b8fc2414873a5fd9
tty: ar933x_uart: use the clk API to get the uart clock

The AR933x UARTs are only used on the Atheros AR933x
SoCs. The base clock frequency of the UART is passed
to the driver via platform data. The SoC support code
implements the generic clock API, and the clock rate
can be retrieved via that.

Update the code to get the clock rate via the generic
clock API instead of using the platform data.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/ar933x_uart.c
This page took 0.028434 seconds and 5 git commands to generate.