msm_serial: Switch clock consumer strings and simplify code
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 21 Aug 2013 06:48:02 +0000 (23:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2013 23:22:58 +0000 (16:22 -0700)
commitbfaddb7d13ffd5db0180f0121447e2ca4ce3020e
tree592a2eaf46749fc2f41f1d2c0d3baaf2cd46fee0
parentde49df58366f88939009d5de06d71a68c701df08
msm_serial: Switch clock consumer strings and simplify code

In downstream kernel we've standardized the clock consumer names
that MSM device drivers use. Replace the uart specific clock
names in this driver with the more standard 'core' and 'iface'
names. Also simplify the code by assuming that clk_prepare_enable
and clk_disable_unprepare() will properly check for NULL pointers
(it will because MSM uses the common clock framework).

Cc: David Brown <davidb@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-msm/devices-msm7x00.c
arch/arm/mach-msm/devices-msm7x30.c
arch/arm/mach-msm/devices-qsd8x50.c
drivers/tty/serial/msm_serial.c