soundwire: bus: remove sdw_defer argument in sdw_transfer_defer()
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 19 Jan 2023 07:32:09 +0000 (15:32 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 31 Jan 2023 14:27:17 +0000 (19:57 +0530)
commit45cb70f99993f74bb46cef72158f59677dbea318
tree5255e96eb4354a2de71b52c1b922b6a7e017c933
parent5ec0c8721c06fc55d8a0bb32c403228358987eb6
soundwire: bus: remove sdw_defer argument in sdw_transfer_defer()

There's no point in passing an argument that is a pointer to a bus
member. We can directly get the member and do an indirection when
needed.

This is a first step before simplifying the hardware-specific
callbacks further.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230119073211.85979-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c
drivers/soundwire/bus.h
drivers/soundwire/stream.c