diff mbox

[01/14] ASoC: ad1980: Remove unused header

Message ID 1414699271-22797-2-git-send-email-lars@metafoo.de (mailing list archive)
State Accepted
Commit 16af0ee16ca9391ef82e1c74c362d80551e769fe
Headers show

Commit Message

Lars-Peter Clausen Oct. 30, 2014, 8 p.m. UTC
The constants defined in the ad1980 header are not used. So remove the file.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/blackfin/bf5xx-ad1980.c |  2 --
 sound/soc/codecs/ad1980.c         |  2 --
 sound/soc/codecs/ad1980.h         | 26 --------------------------
 3 files changed, 30 deletions(-)
 delete mode 100644 sound/soc/codecs/ad1980.h

Comments

Mark Brown Oct. 31, 2014, 5:19 p.m. UTC | #1
On Thu, Oct 30, 2014 at 09:00:58PM +0100, Lars-Peter Clausen wrote:
> The constants defined in the ad1980 header are not used. So remove the file.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/blackfin/bf5xx-ad1980.c b/sound/soc/blackfin/bf5xx-ad1980.c
index 3450e8f..0fa81a5 100644
--- a/sound/soc/blackfin/bf5xx-ad1980.c
+++ b/sound/soc/blackfin/bf5xx-ad1980.c
@@ -46,8 +46,6 @@ 
 #include <linux/gpio.h>
 #include <asm/portmux.h>
 
-#include "../codecs/ad1980.h"
-
 #include "bf5xx-ac97.h"
 
 static struct snd_soc_card bf5xx_board;
diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c
index 304d300..cc28dba 100644
--- a/sound/soc/codecs/ad1980.c
+++ b/sound/soc/codecs/ad1980.c
@@ -30,8 +30,6 @@ 
 #include <sound/initval.h>
 #include <sound/soc.h>
 
-#include "ad1980.h"
-
 /*
  * AD1980 register cache
  */
diff --git a/sound/soc/codecs/ad1980.h b/sound/soc/codecs/ad1980.h
deleted file mode 100644
index eb0af44..0000000
--- a/sound/soc/codecs/ad1980.h
+++ /dev/null
@@ -1,26 +0,0 @@ 
-/*
- * ad1980.h  --  ad1980 Soc Audio driver
- *
- * WARNING:
- *
- * Because Analog Devices Inc. discontinued the ad1980 sound chip since
- * Sep. 2009, this ad1980 driver is not maintained, tested and supported
- * by ADI now.
- */
-
-#ifndef _AD1980_H
-#define _AD1980_H
-/* Bit definition of Power-Down Control/Status Register */
-#define ADC		0x0001
-#define DAC		0x0002
-#define ANL		0x0004
-#define REF		0x0008
-#define PR0		0x0100
-#define PR1		0x0200
-#define PR2		0x0400
-#define PR3		0x0800
-#define PR4		0x1000
-#define PR5		0x2000
-#define PR6		0x4000
-
-#endif