[alsa-devel] [PATCH 1/5] mfd: davinci_voicecodec: Remove unused read and write functions

Mark Brown broonie at kernel.org
Sat Aug 31 15:08:55 CEST 2013


From: Mark Brown <broonie at linaro.org>

These functions are not referenced anywhere, nor prototyped, so just
remove them.

Signed-off-by: Mark Brown <broonie at linaro.org>
---
 drivers/mfd/davinci_voicecodec.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/drivers/mfd/davinci_voicecodec.c b/drivers/mfd/davinci_voicecodec.c
index fb643985..a292d71 100644
--- a/drivers/mfd/davinci_voicecodec.c
+++ b/drivers/mfd/davinci_voicecodec.c
@@ -32,17 +32,6 @@
 
 #include <linux/mfd/davinci_voicecodec.h>
 
-u32 davinci_vc_read(struct davinci_vc *davinci_vc, int reg)
-{
-	return __raw_readl(davinci_vc->base + reg);
-}
-
-void davinci_vc_write(struct davinci_vc *davinci_vc,
-					   int reg, u32 val)
-{
-	__raw_writel(val, davinci_vc->base + reg);
-}
-
 static int __init davinci_vc_probe(struct platform_device *pdev)
 {
 	struct davinci_vc *davinci_vc;
-- 
1.8.4.rc3



More information about the Alsa-devel mailing list