From: Peter Ujfalusi Date: Fri, 21 Dec 2012 09:43:58 +0000 (-0800) Subject: pwm: core: Rename of_pwm_request() to of_pwm_get() and export it X-Git-Tag: v3.9-rc1~79^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eb9612799605a7988d1c97cdc5980a5b8f04c56;p=pandora-kernel.git pwm: core: Rename of_pwm_request() to of_pwm_get() and export it Allow client driver to use of_pwm_get() to get the PWM they need. This is needed for drivers which handle more than one PWM separately, like leds-pwm driver, which have: pwmleds { compatible = "pwm-leds"; kpad { label = "omap4::keypad"; pwms = <&twl_pwm 0 7812500>; max-brightness = <127>; }; charging { label = "omap4:green:chrg"; pwms = <&twl_pwmled 0 7812500>; max-brightness = <255>; }; }; in the dts files. Signed-off-by: Peter Ujfalusi Acked-by: Thierry Reding Signed-off-by: Bryan Wu --- Reading git-diff-tree failed