ASoC: rl6347a: Clean up unneeded inclusion of header files
authorAxel Lin <axel.lin@ingics.com>
Thu, 24 Sep 2015 15:34:01 +0000 (23:34 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 24 Sep 2015 17:30:47 +0000 (10:30 -0700)
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>
sound/soc/codecs/rl6347a.c
sound/soc/codecs/rl6347a.h
sound/soc/codecs/rt286.c
sound/soc/codecs/rt298.c

index 91d5166bd3a1f883e8d3a7f5bd60511b7f50a781..a4b910efbd455eba52f086053ea9a6ec4789ef03 100644 (file)
  */
 
 #include <linux/module.h>
-#include <linux/moduleparam.h>
-#include <linux/init.h>
-#include <linux/delay.h>
-#include <linux/pm.h>
 #include <linux/i2c.h>
-#include <linux/platform_device.h>
-#include <linux/spi/spi.h>
-#include <linux/dmi.h>
-#include <linux/acpi.h>
-#include <sound/core.h>
-#include <sound/pcm.h>
-#include <sound/pcm_params.h>
-#include <sound/soc.h>
-#include <sound/soc-dapm.h>
-#include <sound/initval.h>
-#include <sound/tlv.h>
-#include <sound/jack.h>
-#include <linux/workqueue.h>
-#include <sound/hda_verbs.h>
+#include <linux/regmap.h>
 
 #include "rl6347a.h"
 
index 1cb56e50b7f339f70eb23874943be5c05fc10ad0..e127919cb36b3334aac843abb7cd4391b092ed74 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef __RL6347A_H__
 #define __RL6347A_H__
 
+#include <sound/hda_verbs.h>
+
 #define VERB_CMD(V, N, D) ((N << 20) | (V << 8) | D)
 
 #define RL6347A_VENDOR_REGISTERS       0x20
index bd9365885f73f508fa88de0908215473efaaddb3..1fbdb4fe0ca971ed9f201a6ce1b3619f116ffc11 100644 (file)
@@ -29,7 +29,6 @@
 #include <sound/jack.h>
 #include <linux/workqueue.h>
 #include <sound/rt286.h>
-#include <sound/hda_verbs.h>
 
 #include "rl6347a.h"
 #include "rt286.h"
index 3c2f0f8d6266e358a667aa376fea3d094829845a..2a6c2ba0f0d87f17a9f615c875e6f6215e073390 100644 (file)
@@ -28,7 +28,6 @@
 #include <sound/jack.h>
 #include <linux/workqueue.h>
 #include <sound/rt298.h>
-#include <sound/hda_verbs.h>
 
 #include "rl6347a.h"
 #include "rt298.h"