X86 platform drivers
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: "Lee, Chun-Yi" <joeyli.kernel@gmail.com>
Cc: mjg@redhat.com, platform-driver-x86@vger.kernel.org, "Lee,
	Chun-Yi" <jlee@novell.com>,
	Carlos Corbacho <carlos@strangeworlds.co.uk>,
	Dmitry Torokhov <dtor@mail.ru>,
	Corentin Chary <corentincj@iksaif.net>
Subject: Re: [PATCH] acer-wmi: schedule threeg and interface sysfs for feature removal
Date: Mon, 30 May 2011 09:47:00 +0200	[thread overview]
Message-ID: <201105300947.01009.trenn@suse.de> (raw)
In-Reply-To: <1306714900-26916-1-git-send-email-jlee@novell.com>

On Monday, May 30, 2011 02:21:40 AM Lee, Chun-Yi wrote:
> we can now autodetect internal 3G device and already have the threeg
> rfkill device. So, we plan to remove threeg sysfs support for it's no
> longer necessary.
> 
> We also plan to remove interface sysfs file that exposed which ACPI-WMI
> interface that was used by acer-wmi driver. It will replaced by information
> log when acer-wmi initial.
> 
> We keep it around for userspace compatibility reasons, schedule removal
> in 2012.

...

> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> index 1495539..7e7e668 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -1396,6 +1396,8 @@ static ssize_t show_bool_threeg(struct device *dev,
>  {
>  	u32 result; \
>  	acpi_status status;
> +
> +	pr_info("This threeg sysfs will be removed in 2012.");
You could also add:
            " - used by: %s\n", current->comm);
then it's easier to identify and fix the app still making use of it.


>  	if (wmi_has_guid(WMID_GUID3))
>  		status = wmid3_get_device_status(&result,
>  				ACER_WMID3_GDS_THREEG);
> @@ -1421,6 +1423,7 @@ static DEVICE_ATTR(threeg, S_IRUGO | S_IWUSR, show_bool_threeg,
>  static ssize_t show_interface(struct device *dev, struct device_attribute *attr,
>  	char *buf)
>  {
> +	pr_info("This interface sysfs will be removed in 2012.");
Same.
>  	switch (interface->type) {
>  	case ACER_AMW0:
>  		return sprintf(buf, "AMW0\n");

   Thomas

  reply	other threads:[~2011-05-30  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30  0:21 [PATCH] acer-wmi: schedule threeg and interface sysfs for feature removal Lee, Chun-Yi
2011-05-30  7:47 ` Thomas Renninger [this message]
2011-05-30  9:05   ` Joey Lee

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=201105300947.01009.trenn@suse.de \
    --to=trenn@suse.de \
    --cc=carlos@strangeworlds.co.uk \
    --cc=corentincj@iksaif.net \
    --cc=dtor@mail.ru \
    --cc=jlee@novell.com \
    --cc=joeyli.kernel@gmail.com \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@vger.kernel.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