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

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 v4:
- added tags to patches 4, 5, 6, and 7 (Florian, AngeloGioacchino)
- resent with Lee included in the Cc list (Lee)

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-03-06 17:49 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-03 13:12 [PATCH v4 00/11] leds: deduplicate led_init_default_state_get() Andy Shevchenko
2023-01-03 13:12 ` [PATCH v4 01/11] leds: add missing includes and forward declarations in leds.h Andy Shevchenko
2023-01-19 16:16   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 02/11] leds: Move led_init_default_state_get() to the global header Andy Shevchenko
2023-01-19 16:17   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 03/11] leds: an30259a: Get rid of custom led_init_default_state_get() Andy Shevchenko
2023-01-19 16:17   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 04/11] leds: bcm6328: " Andy Shevchenko
2023-01-19 16:19   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 05/11] leds: bcm6358: " Andy Shevchenko
2023-01-19 16:20   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 06/11] leds: mt6323: " Andy Shevchenko
2023-01-19 16:21   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 07/11] leds: mt6360: " Andy Shevchenko
2023-01-19 16:22   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 08/11] leds: pca955x: " Andy Shevchenko
2023-01-19 16:23   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 09/11] leds: pm8058: " Andy Shevchenko
2023-01-19 16:23   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 10/11] leds: syscon: " Andy Shevchenko
2023-01-19 16:24   ` Lee Jones
2023-01-03 13:12 ` [PATCH v4 11/11] net: dsa: hellcreek: " Andy Shevchenko
2023-03-06 15:54   ` Andy Shevchenko
2023-03-06 17:46     ` Jakub Kicinski
2023-03-06 17:47     ` Kurt Kanzenbach

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