Commit 552206ad authored by Maciej Strozek's avatar Maciej Strozek Committed by Mark Brown

ASoC: cs43130: Store device in private struct and use it more consistently

Also remove one unnecessary debug print
Signed-off-by: default avatarMaciej Strozek <mstrozek@opensource.cirrus.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231117141344.64320-5-mstrozek@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent aa7e8e5e
This diff is collapsed.
...@@ -500,6 +500,7 @@ struct cs43130_dai { ...@@ -500,6 +500,7 @@ struct cs43130_dai {
}; };
struct cs43130_private { struct cs43130_private {
struct device *dev;
struct snd_soc_component *component; struct snd_soc_component *component;
struct regmap *regmap; struct regmap *regmap;
struct regulator_bulk_data supplies[CS43130_NUM_SUPPLIES]; struct regulator_bulk_data supplies[CS43130_NUM_SUPPLIES];
......
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