diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-12-21 01:43:58 -0800 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 17:47:05 -0800 |
commit | 8eb9612799605a7988d1c97cdc5980a5b8f04c56 (patch) | |
tree | 3fbeba200bb259f11fa4fafd7e60d22b86010a32 /mm/percpu.c | |
parent | d4c0c4705bef1134339b038872ece3705a2783e0 (diff) | |
download | linux-8eb9612799605a7988d1c97cdc5980a5b8f04c56.tar.gz linux-8eb9612799605a7988d1c97cdc5980a5b8f04c56.tar.bz2 linux-8eb9612799605a7988d1c97cdc5980a5b8f04c56.zip |
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 <peter.ujfalusi@ti.com>
Acked-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions