soundwire: fix regmap dependencies and align with other serial links
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 18 Jul 2019 23:02:15 +0000 (18:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2019 16:57:27 +0000 (18:57 +0200)
commit4703593498d3d64aff8fba2e0be40ccac3e58814
treeb6e4dfba0039024242942a2a947d170b37c804a5
parent322753c78d1d9d33b0476735cd49f3e6bca5586d
soundwire: fix regmap dependencies and align with other serial links

[ Upstream commit 8676b3ca4673517650fd509d7fa586aff87b3c28 ]

The existing code has a mixed select/depend usage which makes no sense.

config SOUNDWIRE_BUS
       tristate
       select REGMAP_SOUNDWIRE

config REGMAP_SOUNDWIRE
        tristate
        depends on SOUNDWIRE_BUS

Let's remove one layer of Kconfig definitions and align with the
solutions used by all other serial links.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190718230215.18675-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/base/regmap/Kconfig
drivers/soundwire/Kconfig
drivers/soundwire/Makefile