[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com>
Date: Tue, 3 Jan 2023 15:12:45 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Gene Chen <gene_chen@...htek.com>, linux-leds@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Cc: Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Sean Wang <sean.wang@...iatek.com>,
Kurt Kanzenbach <kurt@...utronix.de>,
Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Subject: [PATCH v4 00/11] leds: deduplicate led_init_default_state_get()
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
Powered by blists - more mailing lists