Martin Blumenstingl 084f137600 pwm: meson: Unify the parameter list of meson_pwm_{enable, disable}
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.

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2019-06-26 11:39:06 +02:00
..
2019-06-25 14:51:43 +02:00
2019-05-09 17:09:54 +02:00
2019-03-04 11:38:52 +01:00
2019-01-16 08:45:33 +01:00
2018-07-12 09:03:06 +02:00
2017-01-19 00:38:17 +01:00
2017-08-21 08:11:24 +02:00
2019-03-20 12:34:14 +01:00