projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f6939f
)
ARM: SAMSUNG: Remove unused variable 'running' on PWM
author
Jonghwan Choi
<jhbird.choi@samsung.com>
Wed, 20 Jun 2012 08:02:30 +0000
(17:02 +0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Thu, 21 Jun 2012 00:28:15 +0000
(09:28 +0900)
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>
arch/arm/plat-samsung/pwm.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-samsung/pwm.c
b/arch/arm/plat-samsung/pwm.c
index
c559d84
..
d358305
100644
(file)
--- 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);