From: Tim Kryger Date: Tue, 26 May 2015 20:08:16 +0000 (-0700) Subject: pwm: Add pwmchip_add_with_polarity() API X-Git-Tag: omap-for-v4.3/legacy-v2-signed~192^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a00fae9760a49114016e4764d09e522a5ba5b6;p=pandora-kernel.git 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 Signed-off-by: Jonathan Richardson [thierry.reding@gmail.com: export pwmchip_add_with_polarity()] Signed-off-by: Thierry Reding --- Reading git-diff-tree failed