diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-03-28 10:34:34 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-05-20 16:59:34 +0300 |
commit | daa986d5f8d8871e6691b0fe54375f263c754d04 (patch) | |
tree | 359823385050f042564780f464a71aaa59676fd1 /scripts/gdb/linux/proc.py | |
parent | 762c4e7fce551fbd617ae79e55fc8d9850627b8f (diff) | |
download | linux-daa986d5f8d8871e6691b0fe54375f263c754d04.tar.xz |
pwm: samsung: Implement .apply() callback
To eventually get rid of all legacy drivers convert this driver to the
modern world implementing .apply().
The size check for state->period is moved to .apply() to make sure that
the values of state->duty_cycle and state->period are passed to
pwm_samsung_config without change while they are discarded to int.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions