Commit 8f748e20 authored by Jonghwan Choi's avatar Jonghwan Choi Committed by Kukjin Kim

ARM: SAMSUNG: Remove unused variable 'running' on PWM

This variable is indeed no longer in use.
Signed-off-by: default avatarJonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 4f6939f8
...@@ -36,7 +36,6 @@ struct pwm_device { ...@@ -36,7 +36,6 @@ struct pwm_device {
unsigned int duty_ns; unsigned int duty_ns;
unsigned char tcon_base; unsigned char tcon_base;
unsigned char running;
unsigned char use_count; unsigned char use_count;
unsigned char pwm_id; unsigned char pwm_id;
}; };
...@@ -116,7 +115,6 @@ int pwm_enable(struct pwm_device *pwm) ...@@ -116,7 +115,6 @@ int pwm_enable(struct pwm_device *pwm)
local_irq_restore(flags); local_irq_restore(flags);
pwm->running = 1;
return 0; return 0;
} }
...@@ -134,8 +132,6 @@ void pwm_disable(struct pwm_device *pwm) ...@@ -134,8 +132,6 @@ void pwm_disable(struct pwm_device *pwm)
__raw_writel(tcon, S3C2410_TCON); __raw_writel(tcon, S3C2410_TCON);
local_irq_restore(flags); local_irq_restore(flags);
pwm->running = 0;
} }
EXPORT_SYMBOL(pwm_disable); EXPORT_SYMBOL(pwm_disable);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment