Commit 254a4078 authored by Lee Jones's avatar Lee Jones Committed by Linus Walleij

ARM: ux500: Stop requesting the SoC device to play 'parent' role

There are no more devices which require left to register which require
a parent. This is part of the ux500 conversion over to Device Tree only
booting.
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a0998b83
...@@ -79,12 +79,8 @@ struct pl022_ssp_controller ssp0_plat = { ...@@ -79,12 +79,8 @@ struct pl022_ssp_controller ssp0_plat = {
static void __init mop500_init_machine(void) static void __init mop500_init_machine(void)
{ {
struct device *parent = NULL;
platform_device_register(&db8500_prcmu_device); platform_device_register(&db8500_prcmu_device);
parent = u8500_init_devices();
/* This board has full regulator constraints */ /* This board has full regulator constraints */
regulator_has_full_constraints(); regulator_has_full_constraints();
} }
...@@ -92,24 +88,16 @@ static void __init mop500_init_machine(void) ...@@ -92,24 +88,16 @@ static void __init mop500_init_machine(void)
static void __init snowball_init_machine(void) static void __init snowball_init_machine(void)
{ {
struct device *parent = NULL;
platform_device_register(&db8500_prcmu_device); platform_device_register(&db8500_prcmu_device);
parent = u8500_init_devices();
/* This board has full regulator constraints */ /* This board has full regulator constraints */
regulator_has_full_constraints(); regulator_has_full_constraints();
} }
static void __init hrefv60_init_machine(void) static void __init hrefv60_init_machine(void)
{ {
struct device *parent = NULL;
platform_device_register(&db8500_prcmu_device); platform_device_register(&db8500_prcmu_device);
parent = u8500_init_devices();
/* This board has full regulator constraints */ /* This board has full regulator constraints */
regulator_has_full_constraints(); regulator_has_full_constraints();
} }
......
...@@ -135,14 +135,6 @@ static struct device * __init db8500_soc_device_init(void) ...@@ -135,14 +135,6 @@ static struct device * __init db8500_soc_device_init(void)
return ux500_soc_device_init(soc_id); return ux500_soc_device_init(soc_id);
} }
/*
* This function is called from the board init
*/
struct device * __init u8500_init_devices(void)
{
return db8500_soc_device_init();
}
#ifdef CONFIG_MACH_UX500_DT #ifdef CONFIG_MACH_UX500_DT
static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = { static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = {
/* Requires call-back bindings. */ /* Requires call-back bindings. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment