diff options
author | Jonghwan Choi <jhbird.choi@samsung.com> | 2012-06-20 17:02:30 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-06-21 09:28:15 +0900 |
commit | 8f748e20b8060317bf56f7a8afa6e24047a38cdb (patch) | |
tree | 4b8409dcd9063a6a021c8324ec346763fd16d2bc /arch | |
parent | 4f6939f898c408e6ba9754a42405494f821f22cb (diff) | |
download | linux-8f748e20b8060317bf56f7a8afa6e24047a38cdb.tar.bz2 |
ARM: SAMSUNG: Remove unused variable 'running' on PWM
This variable is indeed no longer in use.
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-samsung/pwm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-samsung/pwm.c b/arch/arm/plat-samsung/pwm.c index c559d8438c70..d3583050fb05 100644 --- a/arch/arm/plat-samsung/pwm.c +++ b/arch/arm/plat-samsung/pwm.c @@ -36,7 +36,6 @@ struct pwm_device { unsigned int duty_ns; unsigned char tcon_base; - unsigned char running; unsigned char use_count; unsigned char pwm_id; }; @@ -116,7 +115,6 @@ int pwm_enable(struct pwm_device *pwm) local_irq_restore(flags); - pwm->running = 1; return 0; } @@ -134,8 +132,6 @@ void pwm_disable(struct pwm_device *pwm) __raw_writel(tcon, S3C2410_TCON); local_irq_restore(flags); - - pwm->running = 0; } EXPORT_SYMBOL(pwm_disable); |