Skip to content

Commit 4dac6f5

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: cs35l45: Remove separate tables module
There is no reason to have a separate module for the tables file it just holds regmap callbacks and register patches used by the main part of the driver. Remove the separate module and merge it into the main driver module. Signed-off-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 3ee0d39 commit 4dac6f5

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

sound/soc/codecs/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,6 @@ config SND_SOC_CS35L41_I2C
688688
select SND_SOC_CS35L41
689689
select REGMAP_I2C
690690

691-
config SND_SOC_CS35L45_TABLES
692-
tristate
693-
694691
config SND_SOC_CS35L45
695692
tristate
696693

@@ -699,7 +696,6 @@ config SND_SOC_CS35L45_SPI
699696
depends on SPI_MASTER
700697
select REGMAP
701698
select REGMAP_SPI
702-
select SND_SOC_CS35L45_TABLES
703699
select SND_SOC_CS35L45
704700
help
705701
Enable support for Cirrus Logic CS35L45 smart speaker amplifier
@@ -710,7 +706,6 @@ config SND_SOC_CS35L45_I2C
710706
depends on I2C
711707
select REGMAP
712708
select REGMAP_I2C
713-
select SND_SOC_CS35L45_TABLES
714709
select SND_SOC_CS35L45
715710
help
716711
Enable support for Cirrus Logic CS35L45 smart speaker amplifier

sound/soc/codecs/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ snd-soc-cs35l41-lib-objs := cs35l41-lib.o
6363
snd-soc-cs35l41-objs := cs35l41.o
6464
snd-soc-cs35l41-spi-objs := cs35l41-spi.o
6565
snd-soc-cs35l41-i2c-objs := cs35l41-i2c.o
66-
snd-soc-cs35l45-tables-objs := cs35l45-tables.o
67-
snd-soc-cs35l45-objs := cs35l45.o
66+
snd-soc-cs35l45-objs := cs35l45.o cs35l45-tables.o
6867
snd-soc-cs35l45-spi-objs := cs35l45-spi.o
6968
snd-soc-cs35l45-i2c-objs := cs35l45-i2c.o
7069
snd-soc-cs42l42-objs := cs42l42.o
@@ -431,7 +430,6 @@ obj-$(CONFIG_SND_SOC_CS35L41) += snd-soc-cs35l41.o
431430
obj-$(CONFIG_SND_SOC_CS35L41_LIB) += snd-soc-cs35l41-lib.o
432431
obj-$(CONFIG_SND_SOC_CS35L41_SPI) += snd-soc-cs35l41-spi.o
433432
obj-$(CONFIG_SND_SOC_CS35L41_I2C) += snd-soc-cs35l41-i2c.o
434-
obj-$(CONFIG_SND_SOC_CS35L45_TABLES) += snd-soc-cs35l45-tables.o
435433
obj-$(CONFIG_SND_SOC_CS35L45) += snd-soc-cs35l45.o
436434
obj-$(CONFIG_SND_SOC_CS35L45_SPI) += snd-soc-cs35l45-spi.o
437435
obj-$(CONFIG_SND_SOC_CS35L45_I2C) += snd-soc-cs35l45-i2c.o

sound/soc/codecs/cs35l45-tables.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,3 @@ unsigned int cs35l45_get_clk_freq_id(unsigned int freq)
196196
return -EINVAL;
197197
}
198198
EXPORT_SYMBOL_NS_GPL(cs35l45_get_clk_freq_id, SND_SOC_CS35L45_TABLES);
199-
200-
MODULE_DESCRIPTION("ASoC CS35L45 driver tables");
201-
MODULE_AUTHOR("James Schulman, Cirrus Logic Inc, <[email protected]>");
202-
MODULE_LICENSE("Dual BSD/GPL");

0 commit comments

Comments
 (0)