From: Axel Lin Date: Sun, 31 Mar 2013 15:04:31 +0000 (+0800) Subject: pwm: pxa: Remove clk_enabled field from struct pxa_pwm_chip X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~24^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b014a30c5991e67aa90b6ff9bd4ec16435bbcefd;p=pandora-kernel.git 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 Acked-by: Eric Miao Signed-off-by: Thierry Reding --- Reading git-diff-tree failed