lkml.org 
[lkml]   [2022]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 00/11] leds: deduplicate led_init_default_state_get()
Date
There are several users of LED framework that reimplement the
functionality of led_init_default_state_get(). In order to
deduplicate them move the declaration to the global header
(patch 2) and convert users (patche 3-11).

Chnagelog v2:
- added missed patch 2 and hence make it the series
- appended tag to patch 7
- new patch 1

Andy Shevchenko (11):
leds: add missing includes and forward declarations in leds.h
leds: Move led_init_default_state_get() to the global header
leds: an30259a: Get rid of custom led_init_default_state_get()
leds: bcm6328: Get rid of custom led_init_default_state_get()
leds: bcm6358: Get rid of custom led_init_default_state_get()
leds: mt6323: Get rid of custom led_init_default_state_get()
leds: mt6360: Get rid of custom led_init_default_state_get()
leds: pca955x: Get rid of custom led_init_default_state_get()
leds: pm8058: Get rid of custom led_init_default_state_get()
leds: syscon: Get rid of custom led_init_default_state_get()
net: dsa: hellcreek: Get rid of custom led_init_default_state_get()

drivers/leds/flash/leds-mt6360.c | 38 +++--------------
drivers/leds/leds-an30259a.c | 21 ++--------
drivers/leds/leds-bcm6328.c | 49 +++++++++++-----------
drivers/leds/leds-bcm6358.c | 32 +++++++-------
drivers/leds/leds-mt6323.c | 30 ++++++-------
drivers/leds/leds-pca955x.c | 26 +++---------
drivers/leds/leds-pm8058.c | 29 ++++++-------
drivers/leds/leds-syscon.c | 49 ++++++++++------------
drivers/leds/leds.h | 1 -
drivers/net/dsa/hirschmann/hellcreek_ptp.c | 45 ++++++++++----------
include/linux/leds.h | 15 ++++---
11 files changed, 143 insertions(+), 192 deletions(-)

--
2.35.1

\
 
 \ /
  Last update: 2022-08-05 17:53    [W:0.390 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site