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)
committerVinod Koul <vkoul@kernel.org>
Fri, 9 Aug 2019 04:50:40 +0000 (10:20 +0530)
commit8676b3ca4673517650fd509d7fa586aff87b3c28
tree017338b9fca34216be66d370627522f204f168e1
parent664b16589f882202b8fa8149d0074f3159bade76
soundwire: fix regmap dependencies and align with other serial links

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>
drivers/base/regmap/Kconfig
drivers/soundwire/Kconfig
drivers/soundwire/Makefile