From: Len Brown <lenb@kernel.org>
To: Corentin Chary <corentincj@iksaif.net>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-acpi@vger.kernel.org, mjg59@srcf.ucam.org
Subject: Re: [PATCH] platform/x86: depends instead of select for laptop platform drivers
Date: Wed, 25 Feb 2009 18:25:35 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.0902251823580.19092@localhost.localdomain> (raw)
In-Reply-To: <1235551029-28504-1-git-send-email-corentincj@iksaif.net>
--
Len Brown, Intel Open Source Technology Center
On Wed, 25 Feb 2009, Corentin Chary wrote:
> "I hate `select' and will gleefully leap on any s/select/depends/ patch,
> whether it works or not :)"
> Andrew Morton
>
> select INPUT is not needed here, because if someone doesn't want INPUT,
> he won't want these drivers either.
>
> Signed-off-by: Corentin Chary <corentincj@iksaif.net>
> ---
> drivers/platform/x86/Kconfig | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index 7a46ed8..8cd903c 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -39,10 +39,10 @@ config ASUS_LAPTOP
> tristate "Asus Laptop Extras (EXPERIMENTAL)"
> depends on ACPI
> depends on EXPERIMENTAL && !ACPI_ASUS
> + depends on INPUT
> select LEDS_CLASS
> select NEW_LEDS
> select BACKLIGHT_CLASS_DEVICE
> - select INPUT
> ---help---
> This is the new Linux driver for Asus laptops. It may also support some
> MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
> @@ -185,11 +185,11 @@ config SONYPI_COMPAT
> config THINKPAD_ACPI
> tristate "ThinkPad ACPI Laptop Extras"
> depends on ACPI
> + depends on INPUT
> select BACKLIGHT_LCD_SUPPORT
> select BACKLIGHT_CLASS_DEVICE
> select HWMON
> select NVRAM
> - select INPUT
> select NEW_LEDS
> select LEDS_CLASS
> select NET
applied the thinkpad hunk above.
the other two were already handled previously.
all the drivers in that Kconfig now depend on INPUT, rather than selecting
it
thanks,
Len Brown, Intel Open Source Technology Center
> @@ -307,7 +307,6 @@ config EEEPC_LAPTOP
> select BACKLIGHT_CLASS_DEVICE
> select HWMON
> select RFKILL
> - select INPUT
> ---help---
> This driver supports the Fn-Fx keys on Eee PC laptops.
> It also adds the ability to switch camera/wlan on/off.
> --
> 1.6.1.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2009-02-25 23:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-15 18:30 [PATCH 0/4] asus-laptop and eeepc-laptop regressions Corentin Chary
2009-02-15 18:30 ` [PATCH 1/4] eeepc-laptop: Fix Kconfig Corentin Chary
2009-02-15 18:30 ` [PATCH 2/4] asus-laptop: restore acpi_generate_proc_event() Corentin Chary
2009-02-15 18:30 ` [PATCH 3/4] eeepc-laptop: " Corentin Chary
2009-02-15 18:30 ` [PATCH 4/4] asus-laptop: use select instead of depends on Corentin Chary
2009-02-25 23:19 ` Len Brown
2009-02-25 23:14 ` [PATCH 3/4] eeepc-laptop: restore acpi_generate_proc_event() Len Brown
2009-02-25 23:14 ` [PATCH 2/4] asus-laptop: " Len Brown
2009-02-24 22:44 ` [PATCH 1/4] eeepc-laptop: Fix Kconfig Andrew Morton
2009-02-25 7:57 ` Corentin Chary
2009-02-25 8:03 ` Andrew Morton
2009-02-25 8:37 ` [PATCH] platform/x86: depends instead of select for laptop platform drivers Corentin Chary
2009-02-25 23:25 ` Len Brown [this message]
2009-02-25 23:14 ` [PATCH 1/4] eeepc-laptop: Fix Kconfig Len Brown
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=alpine.LFD.2.00.0902251823580.19092@localhost.localdomain \
--to=lenb@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=corentincj@iksaif.net \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
/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