diff options
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 12 |
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 | ||
80 | static void __init mop500_init_machine(void) | 80 | static 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 | ||
93 | static void __init snowball_init_machine(void) | 89 | static 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 | ||
105 | static void __init hrefv60_init_machine(void) | 97 | static 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 | } |