Commit 1195a098 authored by Committed by Matthew Garrett
ACPI: Provide /sys/kernel/debug/ec/...
This patch provides the same information through debugfs, which previously was provided through /proc/acpi/embedded_controller/*/info This is the gpe the EC is connected to and whether the global lock gets used. The io ports used are added to /proc/ioports in another patch. Beside the fact that /proc/acpi is deprecated for quite some time, this info is not needed for applications and thus can be moved to debugfs instead of a public interface like /sys. Signed-off-by: Thomas Renninger <firstname.lastname@example.org> CC: Alexey Starikovskiy <email@example.com> CC: Len Brown <firstname.lastname@example.org> CC: email@example.com CC: firstname.lastname@example.org CC: Bjorn Helgaas <email@example.com> CC: firstname.lastname@example.org Signed-off-by: Matthew Garrett <email@example.com>
Showing with 100 additions and 13 deletions