aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2015-07-01 08:21:49 +0000
committerThierry Reding <[email protected]>2015-07-20 07:51:27 +0000
commit011e76314818b6a24d5347b2d83b8a577e6aaae6 (patch)
treee9acaad5ccd095ba7c3a03e706556a3d600273aa /drivers/pwm/pwm-imx.c
parentpwm: Constify PWM device where possible (diff)
downloadkernel-011e76314818b6a24d5347b2d83b8a577e6aaae6.tar.gz
kernel-011e76314818b6a24d5347b2d83b8a577e6aaae6.zip
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions