diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2025-04-29 11:18:07 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-05-14 12:42:50 +0100 |
commit | 5b1a2927c4f63878d2c108cebad09358e69caa20 (patch) | |
tree | 71812eb1eb25c9edb4158ccd8e1e8584780b2e75 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) |
soundwire: bus: Simplify sdw_assign_device_num()
Simplify the code in sdw_assign_device_num(). Remove the new_device
flag which can be simply handled inline and do a bit less shuffling of
dev_num in and out of various variables. This patch should cause no
functional changes.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://lore.kernel.org/r/20250429101808.348462-2-ckeepax@opensource.cirrus.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions