]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66835789ceacd8312bf84c4b82ee1e622a5f2bc3
tree592a2eaf46749fc2f41f1d2c0d3baaf2cd46fee0
parent01546f4e53a74dc847c48ff94a1b3c919120025b
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