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 rac
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.
Signed-off-
2 matches
Mail list logo