Re: [PATCH v2] i2c: i2c-dev: Create 'name' attribute automatically

From: Wolfram Sang
Date: Fri Sep 27 2013 - 12:22:24 EST


On Thu, Sep 26, 2013 at 07:36:11PM -0700, Guenter Roeck wrote:
> The 'name' attribute is needed for all i2c-dev class devices, meaning
> it can be created automatically by pointing to it in the class data
> structure. This simplifies the code and reduces the probability for race
> conditions (the name attribute should exist by the time the device is
> announced to user space).
>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: Digital signature