Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Greg Kroah-Hartman and committed by
Vinod Koul
91c4dd2e f88c1afe

-8
-8
drivers/soundwire/sysfs_slave.c
··· 129 129 NULL, 130 130 }; 131 131 132 - /* 133 - * we don't use ATTRIBUTES_GROUP here since we want to add a subdirectory 134 - * for device-level properties 135 - */ 136 132 static const struct attribute_group sdw_slave_dev_attr_group = { 137 133 .attrs = slave_dev_attrs, 138 134 .name = "dev-properties", ··· 200 204 } 201 205 DEFINE_SYSFS_GROUP_VISIBLE(dp0); 202 206 203 - /* 204 - * we don't use ATTRIBUTES_GROUP here since we want to add a subdirectory 205 - * for dp0-level properties 206 - */ 207 207 static const struct attribute_group dp0_group = { 208 208 .attrs = dp0_attrs, 209 209 .is_visible = SYSFS_GROUP_VISIBLE(dp0),