diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-04-14 21:17:26 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2016-05-17 14:45:02 +0200 |
commit | 1b50673dfa6486a69895bd45bb5eeaaede0a2b93 (patch) | |
tree | c8f7abecbf19506a97d956000f873b61669092cc /drivers/ata/pata_imx.c | |
parent | ad4e9fec143c453cae145d7d5ccac902c37fb912 (diff) | |
download | linux-1b50673dfa6486a69895bd45bb5eeaaede0a2b93.tar.bz2 |
leds: pwm: Use pwm_get_args() where appropriate
The PWM framework has clarified the concept of reference PWM config (the
platform dependent config retrieved from the DT or the PWM lookup table)
and real PWM state.
Use pwm_get_args() when the PWM user wants to retrieve this reference
config and not the current state.
This is part of the rework allowing the PWM framework to support
hardware readout and expose real PWM state even when the PWM has just
been requested (before the user calls pwm_config/enable/disable()).
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/ata/pata_imx.c')
0 files changed, 0 insertions, 0 deletions