quoted hunk ↗ jump to hunk
Add .npwm fill the existing entries, use it in probe, and switch the loop
in meson_pwm_init_clocks_meson8b() and meson_pwm_init_channels_s4() to
chip->npwm. No functional change.
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c
index 8c6bf3d49753..22cefc6d5dd0 100644
--- a/drivers/pwm/pwm-meson.c
+++ b/drivers/pwm/pwm-meson.c
@@ -113,6 +113,7 @@ struct meson_pwm_data {
int (*channels_init)(struct pwm_chip *chip);
The commit message has a small typo ("Add .npwm fill the existing entries" has
a double space.
beside that:
Reviewed-by: Alexandre Mergnat <redacted>
--
Alexandre Mergnat [off-list ref]