aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-omap-dmtimer.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-07-29 14:34:17 +0000
committerUwe Kleine-König <[email protected]>2024-09-05 09:14:14 +0000
commitd6a800796e9806f62b52f2aa80e52a2553e11e9f (patch)
treeb3a69043110aca1ecb64c45f1b468ba79d6dc612 /drivers/pwm/pwm-omap-dmtimer.c
parentpwm: lp3943: Use of_property_count_u32_elems() to get property length (diff)
downloadkernel-d6a800796e9806f62b52f2aa80e52a2553e11e9f.tar.gz
kernel-d6a800796e9806f62b52f2aa80e52a2553e11e9f.zip
pwm: Simplify pwm_capture()
When pwm_capture() is called, pwm is valid, so the checks for pwm and pwm->chip->ops being NULL can be dropped. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/ee7b3322c7b3e28defdfb886a70b8ba40d298416.1722261050.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-omap-dmtimer.c')
0 files changed, 0 insertions, 0 deletions