Skip to content
Commit b0f17570 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Thierry Reding
Browse files

pwm: clps711x: Fix period calculation



Commit e39c0df1 ("pwm: Introduce the pwm_args concept") has
changed the variable for the period for clps711x-pwm driver, so now
pwm_get/set_period() works with pwm->state.period variable instead
of pwm->args.period.
This patch changes the period variable in other places where it is used.

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent e747cbe2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment