Re: [PATCH 1/6] ACPI: Provide /sys/devices/system/ec/

From: Greg KH
Date: Fri Jul 09 2010 - 15:19:51 EST


On Thu, Jul 01, 2010 at 05:02:45PM +0200, Thomas Renninger wrote:
> +config ACPI_EC_SYSFS
> + tristate "EC read/write access through sysfs"
> + default y
> + help
> + Say N to disable Embedded Controller /sys interface
> +
> + An Embedded Controller typically is available on laptops and reads
> + sensor values like battery state and temperature.
> + The kernel access the EC through ACPI parsed code provided by BIOS
> + tables.
> + Thus this option is a debug option that helps to write ACPI drivers
> + and which can be used to identify ACPI code or EC firmware bugs.

Wait, why is this a sysfs file at all? It should be a debugfs one,
right?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/