From 45f176aea60e9fe8c5fdf8e5c90e5c50c264d86f Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Thu, 26 Sep 2013 19:36:11 -0700 Subject: [PATCH] i2c: i2c-dev: Create 'name' attribute automatically 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 Signed-off-by: Wolfram Sang --- Reading git-format-patch failed