soundwire: amd: refactor register mask structure
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Mon, 29 Jan 2024 05:51:40 +0000 (11:21 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 30 Jan 2024 16:06:36 +0000 (16:06 +0000)
commitc1263c75294cc8178ca964e0220b35518d6fb38d
tree5006c42fb38ef3bf53fd8d6e443b4257dfe03415
parentcf0ddbc29dfaacb26d58a594619e42ced286ff29
soundwire: amd: refactor register mask structure

Register mask array structure is no longer needed as except interrupt
control masks, rest of the register masks are not used in code.
Use array for interrupt masks instead of structure.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://msgid.link/r/20240129055147.1493853-7-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soundwire/amd_manager.c
drivers/soundwire/amd_manager.h
include/linux/soundwire/sdw_amd.h