Skip to content

Commit

Permalink
ASoC: rl6347a: Clean up unneeded inclusion of header files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Sep 24, 2015
1 parent 6ff33f3 commit 0f7e177
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
19 changes: 1 addition & 18 deletions sound/soc/codecs/rl6347a.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,8 @@
*/

#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"

Expand Down
2 changes: 2 additions & 0 deletions sound/soc/codecs/rl6347a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/rt286.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/rt298.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0f7e177

Please sign in to comment.