Messages in this thread | | | Date | Tue, 11 Jun 2019 17:29:53 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH v2 01/14] pwm: meson: unify the parameter list of meson_pwm_{enable,disable} |
| |
Hello Martin,
On Sat, Jun 08, 2019 at 08:06:13PM +0200, Martin Blumenstingl wrote: > This is a preparation for a future cleanup. Pass struct pwm_device > instead of passing the individual values required by each function as > these can be obtained for each struct pwm_device instance. > > As a nice side-effect the driver now uses "switch (pwm->hwpwm)" > everywhere. Before some functions used "switch (id)" while others used > "switch (pwm->hwpwm)". > > No functional changes. > > Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
| |