soundwire: bus_type: introduce sdw_slave_type and sdw_master_type
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 18 May 2020 17:43:19 +0000 (01:43 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 19 May 2020 07:14:34 +0000 (12:44 +0530)
commit90acca1d54ad566b4af5f1030b4a4a2420ce2ef0
treedc66ab4a43b1a2a6b02a661223fee051e28afa10
parent5cab3ff2489ede5abffa6ad730708e087dc45a4d
soundwire: bus_type: introduce sdw_slave_type and sdw_master_type

this is a preparatory patch before the introduction of the
sdw_master_type. The SoundWire slave support is slightly modified with
the use of a sdw_slave_type, and the uevent handling move to
slave.c (since it's not necessary for the master).

No functionality change other than moving code around.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20200518174322.31561-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus_type.c
drivers/soundwire/slave.c
include/linux/soundwire/sdw_type.h