diff options
author | 2025-04-29 11:18:07 +0100 | |
---|---|---|
committer | 2025-05-14 12:42:50 +0100 | |
commit | 5b1a2927c4f63878d2c108cebad09358e69caa20 (patch) | |
tree | 71812eb1eb25c9edb4158ccd8e1e8584780b2e75 /scripts/lib/kdoc/kdoc_output.py | |
parent | Linux 6.15-rc1 (diff) | |
download | linux-rng-5b1a2927c4f63878d2c108cebad09358e69caa20.tar.xz linux-rng-5b1a2927c4f63878d2c108cebad09358e69caa20.zip |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions