Re: [PATCH 06/14] pwm: meson: pass struct pwm_device to meson_pwm_calc()

2019-05-27 Thread Neil Armstrong
On 25/05/2019 20:11, Martin Blumenstingl wrote: > meson_pwm_calc() is the last function that accepts a struct > meson_pwm_channel. meson_pwm_enable(), meson_pwm_disable() and > meson_pwm_apply() for example are all taking a struct pwm_device as > parameter. When they need the struct meson_pwm_chann

[PATCH 06/14] pwm: meson: pass struct pwm_device to meson_pwm_calc()

2019-05-25 Thread Martin Blumenstingl
meson_pwm_calc() is the last function that accepts a struct meson_pwm_channel. meson_pwm_enable(), meson_pwm_disable() and meson_pwm_apply() for example are all taking a struct pwm_device as parameter. When they need the struct meson_pwm_channel these functions simply call pwm_get_chip_data() inter