Re: [RFC PATCH 03/15] pwm: add pwm_get_polarity helper function

Thierry Reding
2015-07-20T07:52:09Z

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

On Wed, Jul 01, 2015 at 10:21:49AM +0200, Boris Brezillon wrote:
> Some drivers are directly accessing the ->polarity field in pwm_device.
> Add an helper to retrieve the current polarity so that we can easily move
> this field elsewhere (required to support atomic update).
>
> Signed-off-by: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
> include/linux/pwm.h | 5 +++++
> 1 file changed, 5 insertions(+)

Applied thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]