lkml.org 
[lkml]   [2010]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [1/12] SYSFS: Pass attribute in sysdev_class attributes show/store
On Tue, Jan 05, 2010 at 12:47:58PM +0100, Andi Kleen wrote:
>
> Passing the attribute to the low level IO functions allows all kinds
> of cleanups, by sharing low level IO code without requiring
> an own function for every piece of data.
>
> Also drivers can extend the attributes with own data fields
> and use that in the low level function.
>
> Similar to sysdev_attributes and normal attributes.
>
> This is a tree-wide sweep, converting everything in one go.
>
> No functional changes in this patch other than passing the new
> argument everywhere.
>
> Tested on x86, the non x86 parts are uncompiled.
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Looks good, I'll queue this up.

greg k-h


\
 
 \ /
  Last update: 2010-01-05 16:05    [W:0.080 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site