Re: [PATCH v2] thinkpad_acpi: return -NODEV while operating uninitialized LEDs

2013-06-07 Thread Amos Kong
On Fri, Jun 7, 2013 at 5:05 PM, Adam Lee wrote: > > Not all 0-15 LEDs are available for all models, sometimes it's even not > safe. This patch return -NODEV while operating uninitialized LEDs. > > Signed-off-by: Adam Lee > --- > drivers/platform/x86/thinkpad_acpi.c |5 - > 1 file

[PATCH v2] thinkpad_acpi: return -NODEV while operating uninitialized LEDs

2013-06-07 Thread Adam Lee
Not all 0-15 LEDs are available for all models, sometimes it's even not safe. This patch return -NODEV while operating uninitialized LEDs. Signed-off-by: Adam Lee --- drivers/platform/x86/thinkpad_acpi.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2] thinkpad_acpi: return -NODEV while operating uninitialized LEDs

2013-06-07 Thread Amos Kong
On Fri, Jun 7, 2013 at 5:05 PM, Adam Lee adam@canonical.com wrote: Not all 0-15 LEDs are available for all models, sometimes it's even not safe. This patch return -NODEV while operating uninitialized LEDs. Signed-off-by: Adam Lee adam@canonical.com ---

[PATCH v2] thinkpad_acpi: return -NODEV while operating uninitialized LEDs

2013-06-07 Thread Adam Lee
Not all 0-15 LEDs are available for all models, sometimes it's even not safe. This patch return -NODEV while operating uninitialized LEDs. Signed-off-by: Adam Lee adam@canonical.com --- drivers/platform/x86/thinkpad_acpi.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff