mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
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>
This commit is contained in:
parent
f88c1afe33
commit
91c4dd2e5c
@ -129,10 +129,6 @@ static struct attribute *slave_dev_attrs[] = {
|
|||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* we don't use ATTRIBUTES_GROUP here since we want to add a subdirectory
|
|
||||||
* for device-level properties
|
|
||||||
*/
|
|
||||||
static const struct attribute_group sdw_slave_dev_attr_group = {
|
static const struct attribute_group sdw_slave_dev_attr_group = {
|
||||||
.attrs = slave_dev_attrs,
|
.attrs = slave_dev_attrs,
|
||||||
.name = "dev-properties",
|
.name = "dev-properties",
|
||||||
@ -204,10 +200,6 @@ static bool dp0_group_visible(struct kobject *kobj)
|
|||||||
}
|
}
|
||||||
DEFINE_SYSFS_GROUP_VISIBLE(dp0);
|
DEFINE_SYSFS_GROUP_VISIBLE(dp0);
|
||||||
|
|
||||||
/*
|
|
||||||
* we don't use ATTRIBUTES_GROUP here since we want to add a subdirectory
|
|
||||||
* for dp0-level properties
|
|
||||||
*/
|
|
||||||
static const struct attribute_group dp0_group = {
|
static const struct attribute_group dp0_group = {
|
||||||
.attrs = dp0_attrs,
|
.attrs = dp0_attrs,
|
||||||
.is_visible = SYSFS_GROUP_VISIBLE(dp0),
|
.is_visible = SYSFS_GROUP_VISIBLE(dp0),
|
||||||
|
Loading…
Reference in New Issue
Block a user