mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
ASoC: codecs: wcd937x: Drop unused state container fields
The driver does not use few 'struct wcd937x_priv' and 'struct wcd937x_sdw_priv' members, so just drop them for smaller code. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://msgid.link/r/20240612-asoc-wcd9xxx-wide-cleanups-v1-14-0d15885b2a06@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d8e746719d
commit
c2d9fd2e94
|
|
@ -103,7 +103,6 @@ struct wcd937x_priv {
|
|||
u32 micb1_mv;
|
||||
u32 micb2_mv;
|
||||
u32 micb3_mv;
|
||||
u32 micb4_mv; /* 9375 only */
|
||||
int hphr_pdm_wd_int;
|
||||
int hphl_pdm_wd_int;
|
||||
int aux_pdm_wd_int;
|
||||
|
|
@ -113,9 +112,6 @@ struct wcd937x_priv {
|
|||
struct gpio_desc *us_euro_gpio;
|
||||
struct gpio_desc *reset_gpio;
|
||||
|
||||
int dmic_0_1_clk_cnt;
|
||||
int dmic_2_3_clk_cnt;
|
||||
int dmic_4_5_clk_cnt;
|
||||
atomic_t rx_clk_cnt;
|
||||
atomic_t ana_clk_count;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -508,7 +508,6 @@ struct wcd937x_sdw_priv {
|
|||
const struct wcd937x_sdw_ch_info *ch_info;
|
||||
bool port_enable[WCD937X_MAX_SWR_CH_IDS];
|
||||
int active_ports;
|
||||
int num_ports;
|
||||
bool is_tx;
|
||||
struct wcd937x_priv *wcd937x;
|
||||
struct irq_domain *slave_irq;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user