pwm: stm32: Minor cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 7 repliesIn review
- v13 patches 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | pwm: stm32: Remove clutter from ternary operatordrivers/ include/ | +13 | 3 replies | |
| 2/3 | pwm: stm32: Pass breakinput instead of its valuesdrivers/ | +8 | 1 reply | |
| 3/3 | pwm: stm32: Validate breakinput data from DTdrivers/ | +8 | 3 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Uwe Kleine-König | Lee Jones |
|---|---|---|
| 1/3 | A-b | |
| 2/3 | A-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] pwm: stm32: Minor cleanups
Hi,
Looking at Fabrice's STM32 patches I noticed that we're now passing the breakinput values (u32) into a function via int parameters. The easiest way to fix this inconsistency is by just passing a pointer to the break input structure. There's some preparatory work here that makes the code slightly more readable, in my opinion. I ended up squashing two patches into one in v2 because the second patch from v1 is already addressed in patch 1 of v2. I've added a patch in v2 that validates device tree data for breakinput as suggested by Uwe.
Lee, patch 1 of this small series touches the MFD header for the STM32 timers, but there's no good way to separate the patches, so if you could provide an Acked-by on that patch so that I can take it through the PWM tree along with the rest, that'd be great.
Thierry
Thierry Reding (3):
pwm: stm32: Remove clutter from ternary operator
pwm: stm32: Pass breakinput instead of its values
pwm: stm32: Validate breakinput data from DT
drivers/pwm/pwm-stm32.c | 36 +++++++++++++++++--------------- include/linux/mfd/stm32-timers.h | 12 ++++------- 2 files changed, 23 insertions(+), 25 deletions(-)
Signature · 1 line
2.23.0