Skip to contentSkip to conversation

ARM: OMAP2+: PMU: Remove unused header

PATCH New Jon Hunter 2 participants 2 messages Dec 14, 2012

Subsystems (4)
lore
Share & tools
lore

Jon Hunter

author
#0 lore raw

PATCH 1/1 ARM: OMAP2+: PMU: Remove unused header

Commit 2ac29a1 (ARM: PMU: fix runtime PM enable) moved the call to pm_runtime_enable() from the OMAP2+ PMU code into the ARM PERF core code. However, header for pm_runtime which should have been removed from the OMAP2+ PMU code was not. It is no longer necessary to include this header in the OMAP2+ PMU code and so remove it.

---
 arch/arm/mach-omap2/pmu.c |    2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-omap2/pmu.c +0 -2
index 250d909..eb78ae7 100644
@@ -11,8 +11,6 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  */
-#include <linux/pm_runtime.h>
-
 #include <asm/pmu.h>
 
 #include "soc.h"
Signature · 1 line
1.7.10.4
maintainer
#1 lore raw

PATCH 1/1 ARM: OMAP2+: PMU: Remove unused header

Quoted 5 lines · Jon Hunter

Commit 2ac29a1 (ARM: PMU: fix runtime PM enable) moved the call to pm_runtime_enable() from the OMAP2+ PMU code into the ARM PERF core code. However, header for pm_runtime which should have been removed from the OMAP2+ PMU code was not. It is no longer necessary to include this header in the OMAP2+ PMU code and so remove it.

Thanks applying into omap-for-v3.8/fixes-for-merge-window.

Regards,

Tony

Quoted 21 lines
---
 arch/arm/mach-omap2/pmu.c |    2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-omap2/pmu.c +0 -2
index 250d909..eb78ae7 100644
@@ -11,8 +11,6 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  */
-#include <linux/pm_runtime.h>
-
 #include <asm/pmu.h>
 
 #include "soc.h"
Signature · 1 line
1.7.10.4