summaryrefslogtreecommitdiff
path: root/drivers/regulator/rc5t583-regulator.c
diff options
context:
space:
mode:
authorTim Kryger <tim.kryger@gmail.com>2015-05-26 13:08:16 -0700
committerThierry Reding <thierry.reding@gmail.com>2015-06-12 11:36:30 +0200
commitb6a00fae9760a49114016e4764d09e522a5ba5b6 (patch)
tree88bb0e1cc5c1ca9c4eb66d8c7a2a3c54bf958387 /drivers/regulator/rc5t583-regulator.c
parent472ac3dcac108d6648ee28616c6de1e3b0bb361f (diff)
downloadlinux-b6a00fae9760a49114016e4764d09e522a5ba5b6.tar.gz
pwm: Add pwmchip_add_with_polarity() API
Add a new function to register a PWM chip with channels that have their initial polarity as specified by an additional parameter. This benefits drivers of controllers that by default operate with inversed polarity by removing the need to modify the polarity during initialization. Signed-off-by: Tim Kryger <tim.kryger@gmail.com> Signed-off-by: Jonathan Richardson <jonathar@broadcom.com> [thierry.reding@gmail.com: export pwmchip_add_with_polarity()] Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/regulator/rc5t583-regulator.c')
0 files changed, 0 insertions, 0 deletions