diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-31 23:04:31 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-02 11:31:37 +0200 |
commit | b014a30c5991e67aa90b6ff9bd4ec16435bbcefd (patch) | |
tree | bd8053a202515f8d5d6792d6958c4e82b589a007 /Kconfig | |
parent | 72da70e77f885ec9a79af9c13ff1c79b6136b75f (diff) | |
download | linux-b014a30c5991e67aa90b6ff9bd4ec16435bbcefd.tar.gz linux-b014a30c5991e67aa90b6ff9bd4ec16435bbcefd.tar.bz2 linux-b014a30c5991e67aa90b6ff9bd4ec16435bbcefd.zip |
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 <axel.lin@ingics.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions