serial: 8250_dw: add support for clk api
authorEmilio López <emilio@elopez.com.ar>
Thu, 28 Mar 2013 23:15:49 +0000 (00:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 23:19:21 +0000 (16:19 -0700)
commite302cd932094fa59463b5891814d2a5ace56cfc1
tree64611e03d5c56f89e18a1b88105d7076ea7b9122
parent38adbc54cea90e220c9212f961a621b2c6af9ae0
serial: 8250_dw: add support for clk api

This commit implements support for using the clk api; this lets us use
the "clocks" property with device tree, instead of having to use
clock-frequency.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c