summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs4265.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-10-06 23:14:23 +0800
committerMark Brown <broonie@kernel.org>2014-10-20 12:19:57 +0100
commitfd587e320041d42eb21d12bb62da9e8ac08fd6c2 (patch)
tree9463fd248e84805135d7a6b4071693d7d583900d /sound/soc/codecs/cs4265.c
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
ASoC: cs4265: Remove unused *dev field from struct cs4265_private
Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Paul Handrigan <paul.handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs4265.c')
-rw-r--r--sound/soc/codecs/cs4265.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
index 4fdd47d700e..ce6086835eb 100644
--- a/sound/soc/codecs/cs4265.c
+++ b/sound/soc/codecs/cs4265.c
@@ -32,7 +32,6 @@
#include "cs4265.h"
struct cs4265_private {
- struct device *dev;
struct regmap *regmap;
struct gpio_desc *reset_gpio;
u8 format;
@@ -598,7 +597,6 @@ static int cs4265_i2c_probe(struct i2c_client *i2c_client,
GFP_KERNEL);
if (cs4265 == NULL)
return -ENOMEM;
- cs4265->dev = &i2c_client->dev;
cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap);
if (IS_ERR(cs4265->regmap)) {