tty: serial: bcm63xx: Add support for unnamed clock outputs from DT
authorKevin Cernekee <cernekee@gmail.com>
Tue, 21 Oct 2014 22:22:58 +0000 (15:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:23 +0000 (14:57 -0800)
commit048c1df7e22b2d40c639837440527ba43b6a591c
treef96619e84ff69e1f63ad7d21585686e3926b8de0
parentc0ec3fd123e9e64e095fb221ace841e00c04e40b
tty: serial: bcm63xx: Add support for unnamed clock outputs from DT

The original non-DT bcm63xx clk code ignores the struct device argument
and looks up a global clock name.  DT platforms, by contrast, often just
use a phandle to reference a clock node with no "clock-output-names"
property.  Modify the UART driver to support both schemes.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bcm63xx_uart.c