diff options
author | Tim Kryger <tim.kryger@gmail.com> | 2015-05-26 13:08:16 -0700 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-06-12 11:36:30 +0200 |
commit | b6a00fae9760a49114016e4764d09e522a5ba5b6 (patch) | |
tree | 88bb0e1cc5c1ca9c4eb66d8c7a2a3c54bf958387 /drivers/tty/tty_ldsem.c | |
parent | 472ac3dcac108d6648ee28616c6de1e3b0bb361f (diff) | |
download | linux-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/tty/tty_ldsem.c')
0 files changed, 0 insertions, 0 deletions