linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/11] leds: deduplicate led_init_default_state_get()
@ 2022-09-06 13:49 Andy Shevchenko
  2022-09-06 13:49 ` [PATCH v3 01/11] leds: add missing includes and forward declarations in leds.h Andy Shevchenko
                   ` (12 more replies)
  0 siblings, 13 replies; 26+ messages in thread
From: Andy Shevchenko @ 2022-09-06 13:49 UTC (permalink / raw)
  To: Gene Chen, Andy Shevchenko, Andrew Jeffery, linux-leds,
	linux-arm-kernel, linux-mediatek, linux-kernel, netdev
  Cc: Pavel Machek, Matthias Brugger, Sean Wang, Kurt Kanzenbach,
	Andrew Lunn, Vivien Didelot, Florian Fainelli, Vladimir Oltean,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Lee Jones

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).

Changelog v3:
- added tag to patch 11 (Kurt)
- Cc'ed to Lee, who might help with LED subsystem maintenance

Changelog 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


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-11-22 13:38 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-06 13:49 [PATCH v3 00/11] leds: deduplicate led_init_default_state_get() Andy Shevchenko
2022-09-06 13:49 ` [PATCH v3 01/11] leds: add missing includes and forward declarations in leds.h Andy Shevchenko
2022-09-06 13:49 ` [PATCH v3 02/11] leds: Move led_init_default_state_get() to the global header Andy Shevchenko
2022-09-06 13:49 ` [PATCH v3 03/11] leds: an30259a: Get rid of custom led_init_default_state_get() Andy Shevchenko
2022-09-06 13:49 ` [PATCH v3 04/11] leds: bcm6328: " Andy Shevchenko
2022-09-06 20:38   ` Florian Fainelli
2022-09-06 13:49 ` [PATCH v3 05/11] leds: bcm6358: " Andy Shevchenko
2022-09-06 20:38   ` Florian Fainelli
2022-09-06 13:49 ` [PATCH v3 06/11] leds: mt6323: " Andy Shevchenko
2022-09-07  7:53   ` AngeloGioacchino Del Regno
2022-09-06 13:50 ` [PATCH v3 07/11] leds: mt6360: " Andy Shevchenko
2022-09-07  7:53   ` AngeloGioacchino Del Regno
2022-09-06 13:50 ` [PATCH v3 08/11] leds: pca955x: " Andy Shevchenko
2022-09-06 13:50 ` [PATCH v3 09/11] leds: pm8058: " Andy Shevchenko
2022-09-06 13:50 ` [PATCH v3 10/11] leds: syscon: " Andy Shevchenko
2022-09-06 13:50 ` [PATCH v3 11/11] net: dsa: hellcreek: " Andy Shevchenko
2022-09-14 10:50 ` [PATCH v3 00/11] leds: deduplicate led_init_default_state_get() Andy Shevchenko
2022-10-25 17:16 ` Andy Shevchenko
2022-10-31  8:53   ` Lee Jones
2022-10-31 15:32     ` Andy Shevchenko
2022-11-08 14:24       ` Andy Shevchenko
2022-11-14 10:11         ` Lee Jones
2022-11-14 10:19           ` Andy Shevchenko
2022-11-14 10:41             ` Greg Kroah-Hartman
2022-11-14 11:47               ` Andy Shevchenko
2022-11-22 13:38                 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).