summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pwm/pxa_pwm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pwm/pxa_pwm.c b/drivers/pwm/pxa_pwm.c
index c7130c225e..90899fd3c9 100644
--- a/drivers/pwm/pxa_pwm.c
+++ b/drivers/pwm/pxa_pwm.c
@@ -34,8 +34,6 @@ struct pxa_pwm_chip {
struct pwm_chip chip;
void __iomem *iobase;
int id;
- int duty_ns;
- int period_ns;
};
static struct pxa_pwm_chip *to_pxa_pwm_chip(struct pwm_chip *chip)
@@ -72,9 +70,6 @@ static int pxa_pwm_config(struct pwm_chip *chip, int duty_ns, int period_ns)
else
dc = (pv + 1) * duty_ns / period_ns;
- pxa_pwm->duty_ns = duty_ns;
- pxa_pwm->period_ns = period_ns;
-
/* NOTE: the clock to PWM has to be enabled first
* before writing to the registers
*/