Re: [PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

2013-01-22 Thread Rafael J. Wysocki
On Tuesday, January 22, 2013 03:51:01 PM Greg Kroah-Hartman wrote: > On Tue, Jan 22, 2013 at 03:27:12AM +0100, Rafael J. Wysocki wrote: > > --- linux-pm.orig/include/linux/sysfs.h > > +++ linux-pm/include/linux/sysfs.h > > @@ -154,6 +154,8 @@ int __must_check sysfs_create_bin_file(s > > void sysfs

Re: [PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

2013-01-22 Thread Greg Kroah-Hartman
On Tue, Jan 22, 2013 at 03:27:12AM +0100, Rafael J. Wysocki wrote: > --- linux-pm.orig/include/linux/sysfs.h > +++ linux-pm/include/linux/sysfs.h > @@ -154,6 +154,8 @@ int __must_check sysfs_create_bin_file(s > void sysfs_remove_bin_file(struct kobject *kobj, > const struc

[PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

2013-01-21 Thread Rafael J. Wysocki
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

Re: [RFC][Update 2][PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

2013-01-21 Thread Greg Kroah-Hartman
On Mon, Jan 21, 2013 at 11:41:35PM +0100, Rafael J. Wysocki wrote: > On Monday, January 21, 2013 12:58:20 PM Greg Kroah-Hartman wrote: > > On Mon, Jan 21, 2013 at 02:06:27PM +0100, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > The most convenient way to expose ACPI power reso

Re: [RFC][Update 2][PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

2013-01-21 Thread Rafael J. Wysocki
On Monday, January 21, 2013 12:58:20 PM Greg Kroah-Hartman wrote: > On Mon, Jan 21, 2013 at 02:06:27PM +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 rep

Re: [RFC][Update 2][PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

2013-01-21 Thread Greg Kroah-Hartman
On Mon, Jan 21, 2013 at 02:06:27PM +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 sy

[RFC][Update 2][PATCH 3/4] sysfs: Functions for adding/removing symlinks to/from attribute groups

2013-01-21 Thread Rafael J. Wysocki
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