mbox series

[v4,0/5] leds: pwm: add support for default-state device

Message ID 20200321081321.15614-1-Denis.Osterland@diehl.com
Headers show
Series leds: pwm: add support for default-state device | expand

Message

Denis OSTERLAND-HEIM March 21, 2020, 8:15 a.m. UTC
v3->v4:
 - remove deprecated unused pwm_id member from led_pwm
 - remove useless pwm_period_ns member from led_pwm
 - check return value of led_pwm_set() in led_pwm_add()
 - if period is 0 after pwm_get_state(), fall back to off state
   this avoids division by zero

 .../devicetree/bindings/leds/leds-pwm.txt          |  2 +
 drivers/leds/leds-pwm.c                            | 76 +++++++++++++++++++---
 include/linux/leds_pwm.h                           | 22 -------
 3 files changed, 68 insertions(+), 32 deletions(-)

Message-Id: 20200316124851.6303-1-Denis.Osterland@diehl.com





Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315