From: Lee Jones <lee@kernel.org>
To: "Pavel Machek" <pavel@ucw.cz>, "Lee Jones" <lee@kernel.org>,
"Marek Behún" <kabel@kernel.org>,
"Javier Carrasco" <javier.carrasco.cruz@gmail.com>
Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/6] leds: Remove local leds.h where not required
Date: Wed, 09 Oct 2024 15:37:50 +0100 [thread overview]
Message-ID: <172848467067.595475.11662868342638735364.b4-ty@kernel.org> (raw)
In-Reply-To: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com>
On Fri, 27 Sep 2024 23:37:39 +0200, Javier Carrasco wrote:
> There is a logical tendency to move elements from the local leds.h to
> the global one under include/linux/ to make them accessible for users
> outside the leds subsystem. On the other hand, some users of the local
> header, which also include the global one, do not need to include it
> anymore as the elements they required are no longer there.
>
> That has been the case for leds-gpio and leds-pwm, which used to obtain
> led_init_default_state_get() from that header. I could not identify the
> reason why the rest of affected drivers included leds.h from the
> beginning, but I suppose they used to require something that might not
> be there anymore, or it was just added "by default". Either way, they
> don't require it in their current form.
>
> [...]
Applied, thanks!
[1/6] leds: flash: Remove unused local leds.h
commit: 827a0a3724c5e516b7c0dbfd3f0d907dc947a10b
[2/6] leds: multicolor: Remove unused local leds.h
commit: 026432e7c26484eb613d8224c98e554c7bc7d768
[3/6] leds: gpio: Remove unused local leds.h
commit: e7160d5ee369c016418ba239516d24f086130aa4
[4/6] leds: lp50xx: Remove unused local leds.h
commit: d1aa93196ca601472f4300bed103ce74ff2e8a2b
[5/6] leds: pwm: Remove unused local leds.h
commit: 9fd316962a2089f25db286c1042eeba3f08a2bed
[6/6] leds: turris-omnia: Remove unused local leds.h
commit: 3cfd6ad3e1d9ea4ae2e13d384c3c95726593dae2
--
Lee Jones [李琼斯]
prev parent reply other threads:[~2024-10-09 14:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-27 21:37 Javier Carrasco
2024-09-27 21:37 ` [PATCH 1/6] leds: flash: Remove unused local leds.h Javier Carrasco
2024-09-27 21:37 ` [PATCH 2/6] leds: multicolor: " Javier Carrasco
2024-09-27 21:37 ` [PATCH 3/6] leds: gpio: " Javier Carrasco
2024-09-27 21:37 ` [PATCH 4/6] leds: lp50xx: " Javier Carrasco
2024-09-27 21:37 ` [PATCH 5/6] leds: pwm: " Javier Carrasco
2024-09-27 21:37 ` [PATCH 6/6] leds: turris-omnia: " Javier Carrasco
2024-10-09 14:37 ` Lee Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=172848467067.595475.11662868342638735364.b4-ty@kernel.org \
--to=lee@kernel.org \
--cc=javier.carrasco.cruz@gmail.com \
--cc=kabel@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®