summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2015-07-01 10:21:49 +0200
committerThierry Reding <thierry.reding@gmail.com>2015-07-20 09:51:27 +0200
commit011e76314818b6a24d5347b2d83b8a577e6aaae6 (patch)
treee9acaad5ccd095ba7c3a03e706556a3d600273aa /drivers/pwm
parenta1cf42171a2e3c33cbc12bb037795caf0589149b (diff)
downloadop-kernel-dev-011e76314818b6a24d5347b2d83b8a577e6aaae6.zip
op-kernel-dev-011e76314818b6a24d5347b2d83b8a577e6aaae6.tar.gz
pwm: Add pwm_get_polarity() helper function
Some drivers are directly accessing the ->polarity field in pwm_device. Add a 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@free-electrons.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud