diff options
author | Greg Kroah-Hartman <[email protected]> | 2024-01-30 10:46:29 -0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-03-28 23:38:47 +0530 |
commit | 3ee43f7cc9841cdf3f2bec2de4b1e729fd17e303 (patch) | |
tree | 6848f674919a6dc74e1e02f452616e8b86983799 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1b11bb07898b7e0313438734c310100219e676f (diff) |
soundwire: sysfs: cleanup the logic for creating the dp0 sysfs attributes
There's no need to special-case the dp0 sysfs attributes, the
is_visible() callback in the attribute group can handle that for us, so
add that and add it to the attribute group list making the logic simpler
overall.
This is a step on the way to moving all of the sysfs attribute handling
into the default driver core attribute group logic so that the soundwire
core does not have to do any of it manually.
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/2024013029-budget-mulled-5b34@gregkh
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions