]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/soc/codecs/uda1380.c
ASoC: uda1380: Remove #if IS_ENABLED(CONFIG_I2C)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 17 Nov 2016 01:12:30 +0000 (01:12 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 18 Nov 2016 12:05:47 +0000 (12:05 +0000)
commit4a5cf1320a9501261919cf96af300b1df3ad0210
treed36ade32972afa189e8f463387f5d20344e4931b
parent1001354ca34179f3db924eb66672442a173147dc
ASoC: uda1380: Remove #if IS_ENABLED(CONFIG_I2C)

uda1380 driver doesn't work without CONFIG_I2C anyway.
Let's remove #if IS_ENABLED(CONFIG_I2C), and use module_i2c_driver().

And, this patch adds "depends on I2C" to Kconfig

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/uda1380.c