From: Mark Brown Date: Mon, 9 Jun 2025 15:45:26 +0000 (+0100) Subject: ASoC: codecs: More const and unused member cleanups X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2ccb77082853f6f034e2388228a3767049dab9cb;p=users%2Fjedix%2Flinux-maple.git ASoC: codecs: More const and unused member cleanups Merge series from Krzysztof Kozlowski : Make static data const for code safety and drop some unused fields in structs. --- 2ccb77082853f6f034e2388228a3767049dab9cb diff --cc sound/soc/codecs/wcd937x.c index 92765a8693fbf,126a29e0b3ff9..a5cf6015122cc --- a/sound/soc/codecs/wcd937x.c +++ b/sound/soc/codecs/wcd937x.c @@@ -88,9 -88,8 +88,8 @@@ struct wcd937x_priv struct wcd_mbhc_intr intr_ids; struct wcd_clsh_ctrl *clsh_info; struct irq_domain *virq; - struct regmap_irq_chip *wcd_regmap_irq_chip; struct regmap_irq_chip_data *irq_chip; - struct regulator_bulk_data supplies[WCD937X_MAX_BULK_SUPPLY]; + struct snd_soc_jack *jack; unsigned long status_mask; s32 micb_ref[WCD937X_MAX_MICBIAS]; s32 pullup_ref[WCD937X_MAX_MICBIAS]; diff --cc sound/soc/codecs/wcd938x.c index 9bee50d37619b,5a751056a98a5..6401ac32d1b6f --- a/sound/soc/codecs/wcd938x.c +++ b/sound/soc/codecs/wcd938x.c @@@ -158,9 -159,8 +158,8 @@@ struct wcd938x_priv struct wcd_mbhc_intr intr_ids; struct wcd_clsh_ctrl *clsh_info; struct irq_domain *virq; - struct regmap_irq_chip *wcd_regmap_irq_chip; struct regmap_irq_chip_data *irq_chip; - struct regulator_bulk_data supplies[WCD938X_MAX_SUPPLY]; + struct snd_soc_jack *jack; unsigned long status_mask; s32 micb_ref[WCD938X_MAX_MICBIAS]; s32 pullup_ref[WCD938X_MAX_MICBIAS]; diff --cc sound/soc/codecs/wcd939x.c index 690832037b5dc,bfd4d2c8bdc9b..45645abe30856 --- a/sound/soc/codecs/wcd939x.c +++ b/sound/soc/codecs/wcd939x.c @@@ -189,9 -190,8 +189,8 @@@ struct wcd939x_priv struct wcd_mbhc_intr intr_ids; struct wcd_clsh_ctrl *clsh_info; struct irq_domain *virq; - struct regmap_irq_chip *wcd_regmap_irq_chip; struct regmap_irq_chip_data *irq_chip; - struct regulator_bulk_data supplies[WCD939X_MAX_SUPPLY]; + struct snd_soc_jack *jack; unsigned long status_mask; s32 micb_ref[WCD939X_MAX_MICBIAS]; s32 pullup_ref[WCD939X_MAX_MICBIAS];