Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2018-11-28 Thread Darren Hart
On Sat, Dec 09, 2017 at 01:32:29PM -0800, Andy Lutomirski wrote: > On Fri, Dec 8, 2017 at 7:41 PM, wrote: > >>> On Dec 8, 2017, at 6:34 PM, Mario Limonciello > >>> wrote: > >>> > >>> It's possible for the same GUID to show up on as system twice. > >>> This means using solely the GUID for identi

Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2018-07-06 Thread Darren Hart
On Sat, Dec 09, 2017 at 01:32:29PM -0800, Andy Lutomirski wrote: > On Fri, Dec 8, 2017 at 7:41 PM, wrote: > >>> On Dec 8, 2017, at 6:34 PM, Mario Limonciello > >>> wrote: > >>> > >>> It's possible for the same GUID to show up on as system twice. > >>> This means using solely the GUID for identi

Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2017-12-09 Thread Andy Lutomirski
On Fri, Dec 8, 2017 at 7:41 PM, wrote: >>> On Dec 8, 2017, at 6:34 PM, Mario Limonciello >>> wrote: >>> >>> It's possible for the same GUID to show up on as system twice. >>> This means using solely the GUID for identify the file will not >>> be sufficient. >> >>Isn't the file already in a per-

Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2017-12-08 Thread Mario.Limonciello
>> On Dec 8, 2017, at 6:34 PM, Mario Limonciello >> wrote: >> >> It's possible for the same GUID to show up on as system twice. >> This means using solely the GUID for identify the file will not >> be sufficient. > >Isn't the file already in a per-bus directory? Yep, but the symlink created in /

Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2017-12-08 Thread Andy Lutomirski
--Andy > On Dec 8, 2017, at 6:34 PM, Mario Limonciello > wrote: > > It's possible for the same GUID to show up on as system twice. > This means using solely the GUID for identify the file will not > be sufficient. Isn't the file already in a per-bus directory?

[PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2017-12-08 Thread Mario Limonciello
It's possible for the same GUID to show up on as system twice. This means using solely the GUID for identify the file will not be sufficient. Signed-off-by: Mario Limonciello --- drivers/platform/x86/wmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86