serial: mpc512x: adjust for OF based clock lookup
authorGerhard Sittig <gsi@denx.de>
Sat, 30 Nov 2013 22:51:29 +0000 (23:51 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sun, 12 Jan 2014 17:53:04 +0000 (18:53 +0100)
commite149b42b8605f4e0e86662fe880716ccdfdb4ef9
treee0aa3e6109380fa73c8cd0e59628e82061615ce5
parentdff148ad7b69409181e12641cca6962e5f02cffe
serial: mpc512x: adjust for OF based clock lookup

after device tree based clock lookup became available, the peripheral
driver need no longer construct clock names which include the PSC index,
remove the "psc%d_mclk" template and unconditionally use 'mclk'

acquire and release the "ipg" clock item for register access as well

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: linux-serial@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/tty/serial/mpc52xx_uart.c