summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pwm/pwm.yaml
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-11-12 20:00:15 +0100
committerThierry Reding <thierry.reding@gmail.com>2021-11-17 17:24:28 +0100
commitb6ce2af8766c39a5b09afa466ed4d0ef2d8b5a65 (patch)
treebb6d13a0f268fcc6f4ad1968b271e03848882634 /Documentation/devicetree/bindings/pwm/pwm.yaml
parent14d8956548ad48574138d8fd377d434083c3c3cd (diff)
pwm: img: Use only a single idiom to get a runtime PM reference
Currently there are two very similar approaches in use by this driver: img_pwm_config() uses pm_runtime_get_sync() and calls pm_runtime_put_autosuspend() in the error path; img_pwm_enable() calls pm_runtime_resume_and_get() which already puts the reference in its own error path. Align pm_runtime usage and use the same idiom in both locations. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/pwm.yaml')
0 files changed, 0 insertions, 0 deletions