aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-twl.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2013-03-31 23:04:31 +0800
committerThierry Reding <[email protected]>2013-04-02 11:31:37 +0200
commitb014a30c5991e67aa90b6ff9bd4ec16435bbcefd (patch)
treebd8053a202515f8d5d6792d6958c4e82b589a007 /drivers/pwm/pwm-twl.c
parent72da70e77f885ec9a79af9c13ff1c79b6136b75f (diff)
pwm: pxa: Remove clk_enabled field from struct pxa_pwm_chip
clk_enable/clk_disable maintain an enable_count, clk_prepare and clk_unprepare also maintain a prepare_count. These APIs will do prepare/enable when the first user calling these APIs, and do disable/unprepare when the corresponding counter reach 0. Thus We don't need to maintain a clk_enabled counter here. Signed-off-by: Axel Lin <[email protected]> Acked-by: Eric Miao <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-twl.c')
0 files changed, 0 insertions, 0 deletions