]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
thunderbolt: Make pathname to force_power shorter
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Dec 2017 12:08:03 +0000 (15:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Dec 2017 15:37:51 +0000 (16:37 +0100)
commitcce1fea50e3be6b78fc677e8cf20cd0ca4c851b0
treed958dea33d19ae5a70d7373b9b6bd5a38f435476
parent50c4c4e268a2d7a3e58ebb698ac74da0de40ae36
thunderbolt: Make pathname to force_power shorter

WMI is the bus inside kernel, so, we may access the GUID via
/sys/bus/wmi instead of doing this through /sys/devices path.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/admin-guide/thunderbolt.rst