Skip to content

Commit 91c4dd2

Browse files
gregkhvinodkoul
authored andcommitted
soundwire: sysfs: remove unneeded ATTRIBUTE_GROUPS() comments
Now that we manually created our own attribute group list, the outdated ATTRIBUTE_GROUPS() comments can be removed as they are not needed at all. Cc: Vinod Koul <[email protected]> Cc: Bard Liao <[email protected]> Cc: Pierre-Louis Bossart <[email protected]> Cc: Sanyog Kale <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Dan Williams <[email protected]> Tested-By: Vijendar Mukunda <[email protected]> Link: https://lore.kernel.org/r/2024013031-tranquil-matador-a554@gregkh Signed-off-by: Vinod Koul <[email protected]>
1 parent f88c1af commit 91c4dd2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/soundwire/sysfs_slave.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,6 @@ static struct attribute *slave_dev_attrs[] = {
129129
NULL,
130130
};
131131

132-
/*
133-
* we don't use ATTRIBUTES_GROUP here since we want to add a subdirectory
134-
* for device-level properties
135-
*/
136132
static const struct attribute_group sdw_slave_dev_attr_group = {
137133
.attrs = slave_dev_attrs,
138134
.name = "dev-properties",
@@ -204,10 +200,6 @@ static bool dp0_group_visible(struct kobject *kobj)
204200
}
205201
DEFINE_SYSFS_GROUP_VISIBLE(dp0);
206202

207-
/*
208-
* we don't use ATTRIBUTES_GROUP here since we want to add a subdirectory
209-
* for dp0-level properties
210-
*/
211203
static const struct attribute_group dp0_group = {
212204
.attrs = dp0_attrs,
213205
.is_visible = SYSFS_GROUP_VISIBLE(dp0),

0 commit comments

Comments
 (0)