Kaynağa Gözat

[ARM] pxa: remove unused PWM register definitions, use generic PWM API

We now have generic PWM API for PXA, the PWM registers definitions are
now used nowhere, and it is not encouraged to manipulate them directly
by driver code.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Eric Miao 16 yıl önce
ebeveyn
işleme
d15313e685
1 değiştirilmiş dosya ile 0 ekleme ve 13 silme
  1. 0 13
      arch/arm/mach-pxa/include/mach/pxa-regs.h

+ 0 - 13
arch/arm/mach-pxa/include/mach/pxa-regs.h

@@ -419,19 +419,6 @@
 #define OIER_E0		(1 << 0)	/* Interrupt enable channel 0 */
 
 
-/*
- * Pulse Width Modulator
- */
-
-#define PWM_CTRL0	__REG(0x40B00000)  /* PWM 0 Control Register */
-#define PWM_PWDUTY0	__REG(0x40B00004)  /* PWM 0 Duty Cycle Register */
-#define PWM_PERVAL0	__REG(0x40B00008)  /* PWM 0 Period Control Register */
-
-#define PWM_CTRL1	__REG(0x40C00000)  /* PWM 1Control Register */
-#define PWM_PWDUTY1	__REG(0x40C00004)  /* PWM 1 Duty Cycle Register */
-#define PWM_PERVAL1	__REG(0x40C00008)  /* PWM 1 Period Control Register */
-
-
 /*
  * Interrupt Controller
  */