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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 01, 2010 at 05:02:45PM +0200, Thomas Renninger wrote:
> This patch provides the same information through sysfs, which previously was
> provided through /proc/acpi/embedded_controller/*/info
> 
> Signed-off-by: Thomas Renninger <trenn@xxxxxxx>
> 
> CC: Alexey Starikovskiy <astarikovskiy@xxxxxxx>
> CC: Len Brown <lenb@xxxxxxxxxx>
> CC: linux-kernel@xxxxxxxxxxxxxxx
> CC: linux-acpi@xxxxxxxxxxxxxxx
> CC: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
> CC: platform-driver-x86@xxxxxxxxxxxxxxx
> 
> Index: linux-2.6.34-master/drivers/acpi/Kconfig
> ===================================================================
> ---
>  drivers/acpi/Kconfig    |   13 +++++++
>  drivers/acpi/Makefile   |    1 +
>  drivers/acpi/ec.c       |   18 +++-------
>  drivers/acpi/ec_sys.c   |   92 +++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/acpi/internal.h |   24 ++++++++++++
>  5 files changed, 135 insertions(+), 13 deletions(-)
>  create mode 100644 drivers/acpi/ec_sys.c
> 
> diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> index 7464115..f13708a 100644
> --- a/drivers/acpi/Kconfig
> +++ b/drivers/acpi/Kconfig
> @@ -104,6 +104,19 @@ config ACPI_SYSFS_POWER
>  	help
>  	  Say N to disable power /sys interface
>  
> +config ACPI_EC_SYSFS
> +	tristate "EC read/write access through sysfs"

As you are adding new sysfs files, please document them in
Documentation/ABI/

thanks,

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


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux