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:59:39 +0000 (18:59 +0200)
commite4875cfb207fd2e4ca0edd5edc3bf5a4b4f060b8
treea79209e52444562b56f11724ce074e4570082be7
parent4558078231918cc99b11d265a76de54623e18d71
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