aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu-db8500.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-15 05:51:51 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-04 05:12:06 -0400
commit1e74043a29cdec67279d6e4f494dd1674a1b2365 (patch)
tree3c913f72b997863180242fa9c989fe2b877bd15b /arch/arm/mach-ux500/cpu-db8500.c
parentd4999b19d96decc48eb456b0a33be0e6dc5d793b (diff)
ARM: ux500: Remove empty function u8500_of_init_devices()
As promised, now all devices which resided in u8500_of_init_devices() have been enabled for Device Tree, we can completely remove it. Acked-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db8500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-db8500.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index fbe1fb88b379..6e49e4ff6755 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -217,15 +217,6 @@ struct device * __init u8500_init_devices(struct ab8500_platform_data *ab8500)
217} 217}
218 218
219#ifdef CONFIG_MACH_UX500_DT 219#ifdef CONFIG_MACH_UX500_DT
220
221/* TODO: Once all pieces are DT:ed, remove completely. */
222static struct device * __init u8500_of_init_devices(void)
223{
224 struct device *parent = db8500_soc_device_init();
225
226 return parent;
227}
228
229static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = { 220static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = {
230 /* Requires call-back bindings. */ 221 /* Requires call-back bindings. */
231 OF_DEV_AUXDATA("arm,cortex-a9-pmu", 0, "arm-pmu", &db8500_pmu_platdata), 222 OF_DEV_AUXDATA("arm,cortex-a9-pmu", 0, "arm-pmu", &db8500_pmu_platdata),
@@ -284,7 +275,7 @@ static const struct of_device_id u8500_local_bus_nodes[] = {
284 275
285static void __init u8500_init_machine(void) 276static void __init u8500_init_machine(void)
286{ 277{
287 struct device *parent = NULL; 278 struct device *parent = db8500_soc_device_init();
288 279
289 /* Pinmaps must be in place before devices register */ 280 /* Pinmaps must be in place before devices register */
290 if (of_machine_is_compatible("st-ericsson,mop500")) 281 if (of_machine_is_compatible("st-ericsson,mop500"))
@@ -297,9 +288,6 @@ static void __init u8500_init_machine(void)
297 else if (of_machine_is_compatible("st-ericsson,ccu9540")) {} 288 else if (of_machine_is_compatible("st-ericsson,ccu9540")) {}
298 /* TODO: Add pinmaps for ccu9540 board. */ 289 /* TODO: Add pinmaps for ccu9540 board. */
299 290
300 /* TODO: Export SoC, USB, cpu-freq and DMA40 */
301 parent = u8500_of_init_devices();
302
303 /* automatically probe child nodes of db8500 device */ 291 /* automatically probe child nodes of db8500 device */
304 of_platform_populate(NULL, u8500_local_bus_nodes, u8500_auxdata_lookup, parent); 292 of_platform_populate(NULL, u8500_local_bus_nodes, u8500_auxdata_lookup, parent);
305} 293}