提交 705099a7 编写于 作者: J Jonathan Cameron 提交者: Greg Kroah-Hartman

staging:iio:various Stop drivers putting sysfs attributes in a directory named after the device.

No idea how this particularly 'quirk' got in there in the first
place.
Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9076faa9
...@@ -217,7 +217,6 @@ static struct attribute *ad9852_attributes[] = { ...@@ -217,7 +217,6 @@ static struct attribute *ad9852_attributes[] = {
}; };
static const struct attribute_group ad9852_attribute_group = { static const struct attribute_group ad9852_attribute_group = {
.name = DRV_NAME,
.attrs = ad9852_attributes, .attrs = ad9852_attributes,
}; };
......
...@@ -352,7 +352,6 @@ static struct attribute *ad9910_attributes[] = { ...@@ -352,7 +352,6 @@ static struct attribute *ad9910_attributes[] = {
}; };
static const struct attribute_group ad9910_attribute_group = { static const struct attribute_group ad9910_attribute_group = {
.name = DRV_NAME,
.attrs = ad9910_attributes, .attrs = ad9910_attributes,
}; };
......
...@@ -161,7 +161,6 @@ static struct attribute *ad9951_attributes[] = { ...@@ -161,7 +161,6 @@ static struct attribute *ad9951_attributes[] = {
}; };
static const struct attribute_group ad9951_attribute_group = { static const struct attribute_group ad9951_attribute_group = {
.name = DRV_NAME,
.attrs = ad9951_attributes, .attrs = ad9951_attributes,
}; };
......
...@@ -639,7 +639,6 @@ static struct attribute *ad2s1210_attributes[] = { ...@@ -639,7 +639,6 @@ static struct attribute *ad2s1210_attributes[] = {
}; };
static const struct attribute_group ad2s1210_attribute_group = { static const struct attribute_group ad2s1210_attribute_group = {
.name = DRV_NAME,
.attrs = ad2s1210_attributes, .attrs = ad2s1210_attributes,
}; };
......
...@@ -58,7 +58,6 @@ static struct attribute *ad2s90_attributes[] = { ...@@ -58,7 +58,6 @@ static struct attribute *ad2s90_attributes[] = {
}; };
static const struct attribute_group ad2s90_attribute_group = { static const struct attribute_group ad2s90_attribute_group = {
.name = DRV_NAME,
.attrs = ad2s90_attributes, .attrs = ad2s90_attributes,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册