summaryrefslogtreecommitdiff
path: root/net/dcb
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-09-26 19:36:11 -0700
committerWolfram Sang <wsa@the-dreams.de>2013-09-30 06:02:31 +0200
commit45f176aea60e9fe8c5fdf8e5c90e5c50c264d86f (patch)
tree6d1d003aae7d32cb563921c046a66c4889bf08db /net/dcb
parent15c03dd4859ab16f9212238f29dd315654aa94f6 (diff)
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 <linux@roeck-us.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions