summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2016-08-04 15:38:44 +0200
committerMark Brown <broonie@kernel.org>2016-08-08 11:55:20 +0100
commit84c5c20395a8e4ca2043136e1f0d128cf758244b (patch)
treeedfbcafbe1ae498a6c491fb12bf5e436729eb8c6
parent15a1bf0a7d3d7e6b351cac472ca4b6bc3746eb2e (diff)
downloadblackbird-op-linux-84c5c20395a8e4ca2043136e1f0d128cf758244b.tar.gz
blackbird-op-linux-84c5c20395a8e4ca2043136e1f0d128cf758244b.zip
ASoC: s3c24xx_uda134x: Remove unused power() callback
The power() callback has always been empty so just remove it. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--include/sound/s3c24xx_uda134x.h1
-rw-r--r--sound/soc/samsung/s3c24xx_uda134x.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/s3c24xx_uda134x.h b/include/sound/s3c24xx_uda134x.h
index 33df4cb909d3..ffaf1f098c8e 100644
--- a/include/sound/s3c24xx_uda134x.h
+++ b/include/sound/s3c24xx_uda134x.h
@@ -7,7 +7,6 @@ struct s3c24xx_uda134x_platform_data {
int l3_clk;
int l3_mode;
int l3_data;
- void (*power) (int);
int model;
};
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c
index 50849e137fc0..33479e7a0d3e 100644
--- a/sound/soc/samsung/s3c24xx_uda134x.c
+++ b/sound/soc/samsung/s3c24xx_uda134x.c
@@ -281,7 +281,6 @@ static int s3c24xx_uda134x_probe(struct platform_device *pdev)
"unable to find platform data\n");
return -ENODEV;
}
- s3c24xx_uda134x.power = s3c24xx_uda134x_l3_pins->power;
s3c24xx_uda134x.model = s3c24xx_uda134x_l3_pins->model;
if (s3c24xx_uda134x_setup_pin(s3c24xx_uda134x_l3_pins->l3_data,
OpenPOWER on IntegriCloud