diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-08-01 22:30:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-02 14:05:31 +0100 |
commit | 11c2d223713b7a7fee848595e9f582d34adc552b (patch) | |
tree | f0ead1c7e0ef3bf3563d823be138430e87e2af8c /scripts/generate_rust_analyzer.py | |
parent | 92b796845a4a8789c2d9434c6a77baa88a99121e (diff) |
ASoC: sti-sas: Constify snd_soc_component_driver struct
In order to constify `snd_soc_component_driver` struct, simplify the logic
and the `sti_sas_dev_data` struct.
Since commit 165a57a3df02 ("ASoC: sti-sas: clean legacy in sti-sas") only
only chip is supported and `sti_sas_driver` can be fully defined at
compilation time.
Before:
======
text data bss dec hex filename
8033 1547 16 9596 257c sound/soc/codecs/sti-sas.o
After:
=====
text data bss dec hex filename
8257 1163 16 9436 24dc sound/soc/codecs/sti-sas.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/2c08558813e3bbfae0a5302199cf6ca226e7cde1.1722544073.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions