[PATCH 0/3] pwm: cros-ec: Some simplifications

From: Uwe Kleine-König
Date: Fri Jun 07 2024 - 04:45:21 EST


Hello,

here come some simplifications for the cros-ec PWM driver and a followup
change in the core. The latter was the motivator for me, as I intend to
work on some changes how PWM wave forms are represented and this reduces
the number of code locations I have to care for.

I claim in the commit log that the changes work just fine, however I
only build-test them, so a runtime test from someone with a cros-ec
device would be very welcome.

Best regards
Uwe

Uwe Kleine-König (3):
pwm: cros-ec: Don't care about consumers in .get_state()
pwm: cros-ec: Simplify device tree xlation
pwm: Make pwm_request_from_chip() private to the core

drivers/pwm/core.c | 8 ++---
drivers/pwm/pwm-cros-ec.c | 63 ++++++++-------------------------------
include/linux/pwm.h | 12 --------
3 files changed, 15 insertions(+), 68 deletions(-)

base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
--
2.43.0