msm: clock: Migrate to clkdev
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Feb 2011 17:37:42 +0000 (09:37 -0800)
committerDavid Brown <davidb@codeaurora.org>
Mon, 28 Feb 2011 20:40:17 +0000 (12:40 -0800)
commitbd32344a6baa8baac9c2b3e9c6c649cc4ed53920
tree0b272cc0ea1e7dae1d86fd5ea43de78264000eac
parent2a52220c89e02423aa23e6b9fb6dc0c706465a82
msm: clock: Migrate to clkdev

Migrating to clkdev has several advantages:

 * Less code in mach-msm/clock.c

 * A more robust clk_get() implementation

 * clk_add_alias() support

 * clk_get_sys() support

In general, this will help board authors setup clock aliases and
break the dependency on device pointers in the clock tables.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
15 files changed:
arch/arm/Kconfig
arch/arm/mach-msm/board-msm7x30.c
arch/arm/mach-msm/board-msm8960.c
arch/arm/mach-msm/board-qsd8x50.c
arch/arm/mach-msm/board-trout.c
arch/arm/mach-msm/clock-7x30.h
arch/arm/mach-msm/clock-pcom.h
arch/arm/mach-msm/clock.c
arch/arm/mach-msm/clock.h
arch/arm/mach-msm/devices-msm7x00.c
arch/arm/mach-msm/devices-msm7x30.c
arch/arm/mach-msm/devices-qsd8x50.c
arch/arm/mach-msm/devices.h
arch/arm/mach-msm/include/mach/board.h
arch/arm/mach-msm/include/mach/clkdev.h [new file with mode: 0644]