Mark Bloch 8aec013afe IB/core: Initialize sysfs attributes before sysfs create group
For dynamically allocated sysfs attributes there is a need to call
sysfs_attr_init in order to comply with lockdep, not calling it
will result in error complaining key is not in .data section.

Fixes: b40f4757daa1 ("IB/core: Make device counter infrastructure dynamic")
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-07 09:50:54 -04:00
..
2016-05-24 14:44:04 -04:00
2015-10-08 11:09:10 +01:00
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2016-03-03 10:20:25 -05:00
2016-06-06 19:36:21 -04:00
2016-05-13 19:40:01 -04:00
2016-01-19 15:25:45 -05:00
2016-06-06 19:36:21 -04:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2016-05-13 13:37:57 -04:00
2016-03-03 10:20:25 -05:00
2016-05-13 13:37:57 -04:00