Commit fd587e32 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: cs4265: Remove unused *dev field from struct cs4265_private

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarPaul Handrigan <paul.handrigan@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f114040e
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "cs4265.h" #include "cs4265.h"
struct cs4265_private { struct cs4265_private {
struct device *dev;
struct regmap *regmap; struct regmap *regmap;
struct gpio_desc *reset_gpio; struct gpio_desc *reset_gpio;
u8 format; u8 format;
...@@ -598,7 +597,6 @@ static int cs4265_i2c_probe(struct i2c_client *i2c_client, ...@@ -598,7 +597,6 @@ static int cs4265_i2c_probe(struct i2c_client *i2c_client,
GFP_KERNEL); GFP_KERNEL);
if (cs4265 == NULL) if (cs4265 == NULL)
return -ENOMEM; return -ENOMEM;
cs4265->dev = &i2c_client->dev;
cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap); cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap);
if (IS_ERR(cs4265->regmap)) { if (IS_ERR(cs4265->regmap)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment