Skip to content

Commit d40fce7

Browse files
Ulf Hanssonrafaeljw
authored andcommitted
ARM: s3c64xx: Leave disabling of unused PM domains to genpd
Since genpd at late init, will try to disable unused PM domains we don't need to do it from the machine specific code as well. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0fcc455 commit d40fce7

13 files changed

Lines changed: 0 additions & 29 deletions

‎arch/arm/mach-s3c64xx/common.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,3 @@ void s3c64xx_restart(enum reboot_mode mode, const char *cmd)
440440
/* if all else fails, or mode was for soft, jump to 0 */
441441
soft_restart(0);
442442
}
443-
444-
void __init s3c64xx_init_late(void)
445-
{
446-
s3c64xx_pm_late_initcall();
447-
}

‎arch/arm/mach-s3c64xx/common.h‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ void s3c64xx_init_irq(u32 vic0, u32 vic1);
2323
void s3c64xx_init_io(struct map_desc *mach_desc, int size);
2424

2525
void s3c64xx_restart(enum reboot_mode mode, const char *cmd);
26-
void s3c64xx_init_late(void);
2726

2827
void s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f,
2928
unsigned long xusbxti_f, bool is_s3c6400, void __iomem *reg_base);
@@ -52,12 +51,6 @@ extern void s3c6410_map_io(void);
5251
#define s3c6410_init NULL
5352
#endif
5453

55-
#ifdef CONFIG_PM
56-
int __init s3c64xx_pm_late_initcall(void);
57-
#else
58-
static inline int s3c64xx_pm_late_initcall(void) { return 0; }
59-
#endif
60-
6154
#ifdef CONFIG_S3C64XX_PL080
6255
extern struct pl08x_platform_data s3c64xx_dma0_plat_data;
6356
extern struct pl08x_platform_data s3c64xx_dma1_plat_data;

‎arch/arm/mach-s3c64xx/mach-anw6410.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ MACHINE_START(ANW6410, "A&W6410")
233233
.init_irq = s3c6410_init_irq,
234234
.map_io = anw6410_map_io,
235235
.init_machine = anw6410_machine_init,
236-
.init_late = s3c64xx_init_late,
237236
.init_time = samsung_timer_init,
238237
.restart = s3c64xx_restart,
239238
MACHINE_END

‎arch/arm/mach-s3c64xx/mach-crag6410.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,6 @@ MACHINE_START(WLF_CRAGG_6410, "Wolfson Cragganmore 6410")
857857
.init_irq = s3c6410_init_irq,
858858
.map_io = crag6410_map_io,
859859
.init_machine = crag6410_machine_init,
860-
.init_late = s3c64xx_init_late,
861860
.init_time = samsung_timer_init,
862861
.restart = s3c64xx_restart,
863862
MACHINE_END

‎arch/arm/mach-s3c64xx/mach-hmt.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ MACHINE_START(HMT, "Airgoo-HMT")
277277
.init_irq = s3c6410_init_irq,
278278
.map_io = hmt_map_io,
279279
.init_machine = hmt_machine_init,
280-
.init_late = s3c64xx_init_late,
281280
.init_time = samsung_timer_init,
282281
.restart = s3c64xx_restart,
283282
MACHINE_END

‎arch/arm/mach-s3c64xx/mach-mini6410.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ MACHINE_START(MINI6410, "MINI6410")
366366
.init_irq = s3c6410_init_irq,
367367
.map_io = mini6410_map_io,
368368
.init_machine = mini6410_machine_init,
369-
.init_late = s3c64xx_init_late,
370369
.init_time = samsung_timer_init,
371370
.restart = s3c64xx_restart,
372371
MACHINE_END

‎arch/arm/mach-s3c64xx/mach-ncp.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ MACHINE_START(NCP, "NCP")
103103
.init_irq = s3c6410_init_irq,
104104
.map_io = ncp_map_io,
105105
.init_machine = ncp_machine_init,
106-
.init_late = s3c64xx_init_late,
107106
.init_time = samsung_timer_init,
108107
.restart = s3c64xx_restart,
109108
MACHINE_END

‎arch/arm/mach-s3c64xx/mach-real6410.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ MACHINE_START(REAL6410, "REAL6410")
335335
.init_irq = s3c6410_init_irq,
336336
.map_io = real6410_map_io,
337337
.init_machine = real6410_machine_init,
338-
.init_late = s3c64xx_init_late,
339338
.init_time = samsung_timer_init,
340339
.restart = s3c64xx_restart,
341340
MACHINE_END

‎arch/arm/mach-s3c64xx/mach-smartq5.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ MACHINE_START(SMARTQ5, "SmartQ 5")
156156
.init_irq = s3c6410_init_irq,
157157
.map_io = smartq_map_io,
158158
.init_machine = smartq5_machine_init,
159-
.init_late = s3c64xx_init_late,
160159
.init_time = samsung_timer_init,
161160
.restart = s3c64xx_restart,
162161
MACHINE_END

‎arch/arm/mach-s3c64xx/mach-smartq7.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ MACHINE_START(SMARTQ7, "SmartQ 7")
172172
.init_irq = s3c6410_init_irq,
173173
.map_io = smartq_map_io,
174174
.init_machine = smartq7_machine_init,
175-
.init_late = s3c64xx_init_late,
176175
.init_time = samsung_timer_init,
177176
.restart = s3c64xx_restart,
178177
MACHINE_END

0 commit comments

Comments
 (0)