# Re: \[RFC PATCH 03/15\] pwm: add pwm\_get\_polarity helper function

- From: Thierry Reding \<hidden\>
- Date: 2015-07-20 07:52:09 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2015/07/8717255
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/07/8716021/t.md

```text
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 <redacted>
> ---
>  include/linux/pwm.h | 5 +++++
>  1 file changed, 5 insertions(+)

Applied thanks.

Thierry
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2015/07/8717255/attachment/0) (application/pgp-signature, 819 bytes)
