serial: 8250_dw: only get the clock rate in one place
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 18 Mar 2015 10:55:13 +0000 (12:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 22:04:42 +0000 (23:04 +0100)
commit23f5b3fdd04e89b4c67fd9ffa60a193d239acf0f
treea04625a6cd8f9a6cf8f10737a6ff2e323882f938
parent9001c07995fdd1f3657408c71bca7d6c5fb87fd3
serial: 8250_dw: only get the clock rate in one place

The clock rate is requested from a property called
"clock-frequency" in both dw8250_probe_of and
dw8250_probe_acpi. Moving the requests to dw8250_probe.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c