ARM: davinci: uart: move to devid based clk_get
authorManjunathappa, Prakash <prakash.pm@ti.com>
Wed, 19 Jun 2013 09:15:38 +0000 (14:45 +0530)
committerSekhar Nori <nsekhar@ti.com>
Mon, 22 Jul 2013 10:04:55 +0000 (15:34 +0530)
commit19955c3d7453757271d05859958ca1804a5d2d67
tree978e156a66db7dae2435c23046a75757958f8e5f
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
ARM: davinci: uart: move to devid based clk_get

For modules having single clock, clk_get should be done with dev_id.
But current davinci implementation handles multiple instances
of the UART devices with single platform_device_register. Hence clk_get
is based on con_id rather than dev_id, this is not correct. Do
platform_device_register for each instance and clk_get on dev_id.

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
[nsekhar@ti.com: actually stop using con_id in clk_get(), squash the
 patch adding OF aux data into this one]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
13 files changed:
arch/arm/mach-davinci/da830.c
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/da8xx-dt.c
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/devices-tnetv107x.c
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/da8xx.h
arch/arm/mach-davinci/include/mach/tnetv107x.h
arch/arm/mach-davinci/serial.c
arch/arm/mach-davinci/tnetv107x.c