platform: acer-wmi: update notice about deprecated user interface
Subsystems (2)
PATCH 1/1 platform: acer-wmi: update notice about deprecated user interface
---
This just looks odd in the logs. Feel free to ignore it or act on it differently ;)
drivers/platform/x86/acer-wmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/platform/x86/acer-wmi.c +3 -3
@@ -1671,7 +1671,7 @@ static ssize_t show_bool_threeg(struct device *dev,u32 result; \acpi_status status; -pr_info ("This threeg sysfs will be removed in 2014 - used by: %s\n" , +pr_info ("This threeg sysfs will be removed in 2016 - used by: %s\n" , current->comm); status =get_u32 (&result,ACER_CAP_THREEG );if (ACPI_SUCCESS (status))
@@ -1684,7 +1684,7 @@ static ssize_t set_bool_threeg(struct device *dev, {u32 tmp =simple_strtoul (buf,NULL ,10 );acpi_status status =set_u32 (tmp,ACER_CAP_THREEG ); -pr_info ("This threeg sysfs will be removed in 2014 - used by: %s\n" , +pr_info ("This threeg sysfs will be removed in 2016 - used by: %s\n" , current->comm);if (ACPI_FAILURE (status))return -EINVAL ;
@@ -1696,7 +1696,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 2014 - used by: %s\n" , +pr_info ("This interface sysfs will be removed in 2016 - used by: %s\n" , current->comm);switch (interface->type) {case ACER_AMW0 :
Signature · 1 line
2.1.4
joeyli
maintainerHi Martin,
Quoted 6 lines · Martin Kepplinger
Signed-off-by Martin Kepplinger <[email protected]>---
This just looks odd in the logs. Feel free to ignore it or act on it differently ;)
Thanks for your patch and it reminds me to remove those interfaces in acer-wmi. Please let me check and I am thinking direct remove those interfaces.
Thanks a lot!
Joey Lee
Quoted 37 lines
drivers/platform/x86/acer-wmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/platform/x86/acer-wmi.c +3
-3@@ -1671,7 +1671,7 @@ static ssize_t show_bool_threeg(struct device *dev,u32 result; \acpi_status status; -pr_info ("This threeg sysfs will be removed in 2014 - used by: %s\n" , +pr_info ("This threeg sysfs will be removed in 2016 - used by: %s\n" , current->comm); status =get_u32 (&result,ACER_CAP_THREEG );if (ACPI_SUCCESS (status))@@ -1684,7 +1684,7 @@ static ssize_t set_bool_threeg(struct device *dev, {u32 tmp =simple_strtoul (buf,NULL ,10 );acpi_status status =set_u32 (tmp,ACER_CAP_THREEG ); -pr_info ("This threeg sysfs will be removed in 2014 - used by: %s\n" , +pr_info ("This threeg sysfs will be removed in 2016 - used by: %s\n" , current->comm);if (ACPI_FAILURE (status))return -EINVAL ;@@ -1696,7 +1696,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 2014 - used by: %s\n" , +pr_info ("This interface sysfs will be removed in 2016 - used by: %s\n" , current->comm);switch (interface->type) {case ACER_AMW0 :Signature · 1 line
2.1.4
Quoted 10 lines · joeyli
Hi Martin,
Quoted 6 lines · Martin Kepplinger
Signed-off-by Martin Kepplinger <[email protected]>---
This just looks odd in the logs. Feel free to ignore it or act on it differently ;)
Quoted 2 lines
Thanks for your patch and it reminds me to remove those interfaces in acer-wmi. Please let me check and I am thinking direct remove those interfaces.
Joey, I will wait to hear from you on this patch (or a replacement).
Thanks,
Signature · 2 lines
Darren Hart Intel Open Source Technology Center
joeyli
maintainerHi Darren,
Quoted 11 lines · Darren Hart
Quoted 10 lines · joeyli
Hi Martin,
Quoted 6 lines · Martin Kepplinger
Signed-off-by Martin Kepplinger <[email protected]>---
This just looks odd in the logs. Feel free to ignore it or act on it differently ;)
Quoted 7 lines
Quoted 2 lines
Thanks for your patch and it reminds me to remove those interfaces in acer-wmi. Please let me check and I am thinking direct remove those interfaces.
Joey, I will wait to hear from you on this patch (or a replacement).
Thanks,
Thanks for your reminding. I just sent patch to remove sysfs interface of acer-wmi.
Joey Lee
Am 2015-10-05 um 12:30 schrieb joeyli:
Quoted 17 lines
Hi Darren,
Quoted 14 lines · Darren Hart
Quoted 12 lines · joeyli
Hi Martin,
Quoted 6 lines · Martin Kepplinger
Signed-off-by Martin Kepplinger <[email protected]>---
This just looks odd in the logs. Feel free to ignore it or act on it differently ;)Thanks for your patch and it reminds me to remove those interfaces in acer-wmi. Please let me check and I am thinking direct remove those interfaces.
Quoted 9 lines
Quoted 4 lines
Joey, I will wait to hear from you on this patch (or a replacement).
Thanks,
Thanks for your reminding. I just sent patch to remove sysfs interface of acer-wmi.
Joey Lee
I have to leave the estimation whether this old interface won't have users to you and others, but if it's ok, it's nice to see dead code removed! thanks,
martin
joeyli
maintainerQuoted 25 lines · Martin Kepplinger
Am 2015-10-05 um 12:30 schrieb joeyli:
Quoted 24 lines
Hi Darren,
Quoted 11 lines · Darren Hart
Quoted 10 lines · joeyli
Hi Martin,
Quoted 6 lines · Martin Kepplinger
Signed-off-by Martin Kepplinger <[email protected]>---
This just looks odd in the logs. Feel free to ignore it or act on it differently ;)Quoted 7 lines
Quoted 2 lines
Thanks for your patch and it reminds me to remove those interfaces in acer-wmi. Please let me check and I am thinking direct remove those interfaces.
Joey, I will wait to hear from you on this patch (or a replacement).
Thanks,
Thanks for your reminding. I just sent patch to remove sysfs interface of acer-wmi.
Quoted 8 lines
Quoted 2 lines
Joey Lee
I have to leave the estimation whether this old interface won't have users to you and others, but if it's ok, it's nice to see dead code removed! thanks,
martin
User space should uses rfkill interface instead of sysfs. The original date of removal is 2012, then we extended the deadline to 2014. I think 3 years is enough to user space application for changing to rfkill.
Still very thanks for your help on acer-wmi driver.
Regards
Joey Lee