diff options
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
-rw-r--r-- | net/bluetooth/hci_sysfs.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c index 0b61250cfdf9..555982a78a58 100644 --- a/net/bluetooth/hci_sysfs.c +++ b/net/bluetooth/hci_sysfs.c | |||
@@ -49,14 +49,7 @@ static struct attribute *bt_link_attrs[] = { | |||
49 | NULL | 49 | NULL |
50 | }; | 50 | }; |
51 | 51 | ||
52 | static struct attribute_group bt_link_group = { | 52 | ATTRIBUTE_GROUPS(bt_link); |
53 | .attrs = bt_link_attrs, | ||
54 | }; | ||
55 | |||
56 | static const struct attribute_group *bt_link_groups[] = { | ||
57 | &bt_link_group, | ||
58 | NULL | ||
59 | }; | ||
60 | 53 | ||
61 | static void bt_link_release(struct device *dev) | 54 | static void bt_link_release(struct device *dev) |
62 | { | 55 | { |
@@ -182,14 +175,7 @@ static struct attribute *bt_host_attrs[] = { | |||
182 | NULL | 175 | NULL |
183 | }; | 176 | }; |
184 | 177 | ||
185 | static struct attribute_group bt_host_group = { | 178 | ATTRIBUTE_GROUPS(bt_host); |
186 | .attrs = bt_host_attrs, | ||
187 | }; | ||
188 | |||
189 | static const struct attribute_group *bt_host_groups[] = { | ||
190 | &bt_host_group, | ||
191 | NULL | ||
192 | }; | ||
193 | 179 | ||
194 | static void bt_host_release(struct device *dev) | 180 | static void bt_host_release(struct device *dev) |
195 | { | 181 | { |