aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index f8885c56abf2..8f6c1ea7b216 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -79,12 +79,8 @@ struct pl022_ssp_controller ssp0_plat = {
79 79
80static void __init mop500_init_machine(void) 80static void __init mop500_init_machine(void)
81{ 81{
82 struct device *parent = NULL;
83
84 platform_device_register(&db8500_prcmu_device); 82 platform_device_register(&db8500_prcmu_device);
85 83
86 parent = u8500_init_devices();
87
88 /* This board has full regulator constraints */ 84 /* This board has full regulator constraints */
89 regulator_has_full_constraints(); 85 regulator_has_full_constraints();
90} 86}
@@ -92,24 +88,16 @@ static void __init mop500_init_machine(void)
92 88
93static void __init snowball_init_machine(void) 89static void __init snowball_init_machine(void)
94{ 90{
95 struct device *parent = NULL;
96
97 platform_device_register(&db8500_prcmu_device); 91 platform_device_register(&db8500_prcmu_device);
98 92
99 parent = u8500_init_devices();
100
101 /* This board has full regulator constraints */ 93 /* This board has full regulator constraints */
102 regulator_has_full_constraints(); 94 regulator_has_full_constraints();
103} 95}
104 96
105static void __init hrefv60_init_machine(void) 97static void __init hrefv60_init_machine(void)
106{ 98{
107 struct device *parent = NULL;
108
109 platform_device_register(&db8500_prcmu_device); 99 platform_device_register(&db8500_prcmu_device);
110 100
111 parent = u8500_init_devices();
112
113 /* This board has full regulator constraints */ 101 /* This board has full regulator constraints */
114 regulator_has_full_constraints(); 102 regulator_has_full_constraints();
115} 103}