From: Greg Kroah-Hartman Subject: Re: [Update][PATCH 4/5] sysfs: Functions for adding/removing symlinks to/from attribute groups Date: Wed, 23 Jan 2013 16:33:43 -0800 Message-ID: <20130124003343.GB10969@kroah.com> References: <3307415.pdOY6ovZLa@vostro.rjw.lan> <2760421.6nE3tkh92K@vostro.rjw.lan> <1551140.kO91IOVbjI@vostro.rjw.lan> <1511541.AH8DLsNQJH@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f42.google.com ([209.85.220.42]:35548 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752391Ab3AXAdr (ORCPT ); Wed, 23 Jan 2013 19:33:47 -0500 Received: by mail-pa0-f42.google.com with SMTP id rl6so5130054pac.15 for ; Wed, 23 Jan 2013 16:33:46 -0800 (PST) Content-Disposition: inline In-Reply-To: <1511541.AH8DLsNQJH@vostro.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , LKML , "Kristen C. Accardi" , Len Brown On Wed, Jan 23, 2013 at 07:00:54PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The most convenient way to expose ACPI power resources lists of a > device is to put symbolic links to sysfs directories representing > those resources into special attribute groups in the device's sysfs > directory. For this purpose, it is necessary to be able to add > symbolic links to attribute groups. > > For this reason, add sysfs helper functions for adding/removing > symbolic links to/from attribute groups, sysfs_add_link_to_group() > and sysfs_remove_link_from_group(), respectively. > > Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman