diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2019-06-12 21:59:09 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-06-26 11:39:10 +0200 |
commit | d6885b3e0a39ba7f93d4dc77ed9112e44a09b40d (patch) | |
tree | 25867233406612158a9f35342ab0763b3a8e946d /Documentation | |
parent | pwm: meson: Read the full hardware state in meson_pwm_get_state() (diff) | |
download | linux-d6885b3e0a39ba7f93d4dc77ed9112e44a09b40d.tar.gz linux-d6885b3e0a39ba7f93d4dc77ed9112e44a09b40d.tar.bz2 linux-d6885b3e0a39ba7f93d4dc77ed9112e44a09b40d.zip |
pwm: meson: Don't cache struct pwm_state internally
The PWM core already caches the "current struct pwm_state" as the
"current state of the hardware registers" inside struct pwm_device.
Drop the struct pwm_state from struct meson_pwm_channel in favour of the
struct pwm_state in struct pwm_device. While here also drop any checks
based on the pwm_state because the PWM core already takes care of this.
No functional changes intended.
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions