summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas2770.h
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-09-23 16:26:00 +0300
committerMark Brown <broonie@kernel.org>2020-09-23 20:48:03 +0300
commit3121420cf9b4db7f2bafcdc0e562f60779bf365d (patch)
tree0a952e9261c7767809580644e5d5f397a19714f0 /sound/soc/codecs/tas2770.h
parentdd7d9052064b4bda94a89dbc1618927319602366 (diff)
downloadlinux-3121420cf9b4db7f2bafcdc0e562f60779bf365d.tar.xz
ASoC: tas2770: Remove unused variables
Remove unused variables in the private struct and the code as these variables are initially set and then there is no additional code utilizing these variables. Signed-off-by: Dan Murphy <dmurphy@ti.com> Link: https://lore.kernel.org/r/20200923132600.10652-6-dmurphy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2770.h')
-rw-r--r--sound/soc/codecs/tas2770.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sound/soc/codecs/tas2770.h b/sound/soc/codecs/tas2770.h
index 856a7c5cff5a..d156666bcc55 100644
--- a/sound/soc/codecs/tas2770.h
+++ b/sound/soc/codecs/tas2770.h
@@ -128,15 +128,11 @@
#define ERROR_CLASSD_PWR BIT(5)
struct tas2770_priv {
- struct device *dev;
- struct regmap *regmap;
struct snd_soc_component *component;
- int power_state;
struct gpio_desc *reset_gpio;
struct gpio_desc *sdz_gpio;
- int sampling_rate;
- int channel_size;
- int slot_width;
+ struct regmap *regmap;
+ struct device *dev;
int v_sense_slot;
int i_sense_slot;
};