]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / sysfs: Add support to allow leading "\" missing in trace_method_name.
authorLv Zheng <lv.zheng@intel.com>
Wed, 5 Aug 2015 08:23:57 +0000 (16:23 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Aug 2015 00:42:22 +0000 (02:42 +0200)
commit5833c7eeb3e1b416d8e91d9f34bb729c02943121
tree2826d7cbdddc8d61d4cf5660d5d9aee69b6dfe30
parent7961a8daad6380bdc200ce01b15cc6d4a9df4e43
ACPI / sysfs: Add support to allow leading "\" missing in trace_method_name.

Since _SB.PCI0 can be used as relative path from root and can be easily
converted into internal trace_method_name format, we allow users to specify
trace_method_name using relative paths from root.
Note this is useful for grub2 for which users failed to pass "\" from the
grub configuration file.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sysfs.c