v6 -> v7: apply comments from Jacek
           refactore default state read to separate function
           and use it in leds-gpio and leds-pwm

@Pavel I hope that it is okay to keep your acked-by on 2/3,
       the logic is the same but with switch, in favour of if

 .../devicetree/bindings/leds/leds-pwm.txt          |  2 +
 drivers/leds/led-core.c                            | 15 +++++++
 drivers/leds/leds-gpio.c                           | 12 +-----
 drivers/leds/leds-pwm.c                            | 49 +++++++++++++++++++---
 drivers/leds/leds.h                                |  1 +
 include/linux/leds.h                               | 12 ++++--
 6 files changed, 72 insertions(+), 19 deletions(-)

Message-Id: <20200713054259.7608-1-denis.osterl...@diehl.com>
base-commit: 2742b4192a279c6ec72e55d5474c4c07756c7845




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

Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail 
enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten 
haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung 
und/oder Publikation dieser E-Mail ist strengstens untersagt.
- Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie 
unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/

The contents of the above mentioned e-mail is not legally binding. This e-mail 
contains confidential and/or legally protected information. Please inform us if 
you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, 
disclosure, alteration, distribution and/or publication of this e-mail is 
strictly prohibited. 
- For general information on data protection and your respective rights please 
visit https://www.diehl.com/group/en/transparency-and-information-obligations/

Reply via email to