Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: rl6347a: Clean up unneeded inclusion of header files

Also move the include of sound/hda_verbs.h to rl6347a.h because it is used
in rl6347a.h.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
0f7e1774 6ff33f39

+3 -20
+1 -18
sound/soc/codecs/rl6347a.c
··· 11 11 */ 12 12 13 13 #include <linux/module.h> 14 - #include <linux/moduleparam.h> 15 - #include <linux/init.h> 16 - #include <linux/delay.h> 17 - #include <linux/pm.h> 18 14 #include <linux/i2c.h> 19 - #include <linux/platform_device.h> 20 - #include <linux/spi/spi.h> 21 - #include <linux/dmi.h> 22 - #include <linux/acpi.h> 23 - #include <sound/core.h> 24 - #include <sound/pcm.h> 25 - #include <sound/pcm_params.h> 26 - #include <sound/soc.h> 27 - #include <sound/soc-dapm.h> 28 - #include <sound/initval.h> 29 - #include <sound/tlv.h> 30 - #include <sound/jack.h> 31 - #include <linux/workqueue.h> 32 - #include <sound/hda_verbs.h> 15 + #include <linux/regmap.h> 33 16 34 17 #include "rl6347a.h" 35 18
+2
sound/soc/codecs/rl6347a.h
··· 12 12 #ifndef __RL6347A_H__ 13 13 #define __RL6347A_H__ 14 14 15 + #include <sound/hda_verbs.h> 16 + 15 17 #define VERB_CMD(V, N, D) ((N << 20) | (V << 8) | D) 16 18 17 19 #define RL6347A_VENDOR_REGISTERS 0x20
-1
sound/soc/codecs/rt286.c
··· 29 29 #include <sound/jack.h> 30 30 #include <linux/workqueue.h> 31 31 #include <sound/rt286.h> 32 - #include <sound/hda_verbs.h> 33 32 34 33 #include "rl6347a.h" 35 34 #include "rt286.h"
-1
sound/soc/codecs/rt298.c
··· 28 28 #include <sound/jack.h> 29 29 #include <linux/workqueue.h> 30 30 #include <sound/rt298.h> 31 - #include <sound/hda_verbs.h> 32 31 33 32 #include "rl6347a.h" 34 33 #include "rt298.h"