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

Wolfram Sang
2013-09-27T16:22:20Z

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

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@roeck-us.net>

Applied to for-next, thanks!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]