lkml.org 
[lkml]   [2015]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: Build sysfs entries with static attribute groups
On Fri, Jan 30, 2015 at 08:29:31PM +0100, Takashi Iwai wrote:
> Instead of calling device_create_file() manually after the device
> registration, put all in attribute groups and filter the unwanted ones
> via is_visible callback. This not only simplifies the code but also
> avoids the possible race between the device registration and sysfs
> registration.

Applied, thanks.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-02-02 21:41    [W:0.031 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site