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 <vkoul@kernel.org> Cc: Bard Liao <yung-chuan.liao@linux.intel.com> Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Cc: Sanyog Kale <sanyog.r.kale@intel.com> Cc: alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Tested-By: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://lore.kernel.org/r/2024013031-tranquil-matador-a554@gregkh Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent f88c1af commit 91c4dd2

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

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)