linux/sound/soc
Douglas Anderson 98cf2c03b4 ASoC: Intel: sst: Delete sst_shim_regs64; saved regs are never used
In commit 9a075265c6 ("ASoC: Intel: sst: Remove unused function
sst_restore_shim64()"), we deleted the sst_restore_shim64() since it
was never used.  ...but a quick look at the code shows that we should
also be able to remove the sst_save_shim64() function and the
structure members we were storing data in.

Once we delete sst_save_shim64() there are no longer any users of the
'sst_shim_regs64' structure.  That means we can delete it completely
and also avoid allocating memory for it.  This saves a whopping 136
bytes of devm allocated memory.  We also get the nice benefit of
avoiding an error path in the init code.

Note that the saving code that we're removing (and the comments
talking about how important it is to do the save) has been around
since commit 336cfbb05e ("ASoC: Intel: mrfld- add ACPI module").

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-06-06 19:58:49 +01:00
..
adi
amd scripts/spelling.txt: add "disble(d)" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
atmel ASoC: atmel-classd: fix audio clock rate 2017-03-07 15:20:32 +01:00
au1x
bcm
blackfin ASoC: blackfin: constify snd_soc_ops structures 2017-03-24 18:48:10 +00:00
cirrus
codecs Merge remote-tracking branches 'asoc/topic/wm8960', 'asoc/topic/wm8978' and 'asoc/topic/zte-tdm' into asoc-next 2017-04-30 22:16:48 +09:00
davinci ASoC: davinci - Fix possible NULL derefrence. 2017-01-27 11:58:54 +00:00
dwc ASoC: dwc: Disallow building designware_pcm as a module 2017-04-30 20:27:04 +08:00
fsl Merge remote-tracking branches 'asoc/topic/fsl-ssi', 'asoc/topic/hi6220' and 'asoc/topic/imx' into asoc-next 2017-04-30 22:16:01 +09:00
generic Merge remote-tracking branches 'asoc/topic/samsung', 'asoc/topic/sgtl5000', 'asoc/topic/simple', 'asoc/topic/sirf' and 'asoc/topic/ssm4567' into asoc-next 2017-04-30 22:16:26 +09:00
hisilicon ASoC: hisilicon: Use devm_snd_soc_register_component 2017-04-11 21:20:55 +01:00
img ASoC: img: remove unused ‘format’ 2016-12-15 11:22:52 +00:00
intel ASoC: Intel: sst: Delete sst_shim_regs64; saved regs are never used 2017-06-06 19:58:49 +01:00
jz4740
kirkwood
mediatek ASoC: mediatek: add I2C dependency for CS42XX8 2017-04-21 17:58:34 +01:00
mxs ASoC: mxs-saif: fix setting master base rate 2017-01-17 18:19:36 +00:00
nuc900
omap ASoC: omap: constify snd_soc_ops structures 2017-03-20 11:26:37 +00:00
pxa ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
qcom ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
rockchip ASoC: rockchip: Enable 192khz in hw_params operation 2017-03-06 11:41:03 +01:00
samsung ASoC: samsung: Add Odroid ASoC machine driver 2017-04-21 18:27:58 +01:00
sh ASoC: rsnd: Fix possible NULL pointer dereference 2017-04-21 17:51:48 +01:00
sirf ASoC: sirf: Added blank line after declarations 2017-03-07 14:31:51 +01:00
spear
sti ASoC: sti: Fix error handling if of_clk_get() fails 2017-04-30 21:30:52 +09:00
stm ASoC: stm32: add SAI driver 2017-04-26 16:45:54 +01:00
sunxi ASoC: sun8i-codec: Convert to use SND_SOC_DAPM_AIF_IN 2017-03-21 12:16:30 +00:00
tegra ASoC: tegra: Add blank line after declarations 2017-03-07 14:29:51 +01:00
txx9 ASoC: txx9: Added requiered spaces. 2017-03-07 15:18:35 +01:00
ux500 ASoC: ux500: Added blank line after declarations 2017-03-07 14:31:27 +01:00
xtensa
zte ASoC: zx-tdm: add zte's tdm controller driver 2017-02-21 15:11:17 -08:00
Kconfig Merge remote-tracking branches 'asoc/topic/sta529', 'asoc/topic/sti', 'asoc/topic/stm', 'asoc/topic/sunxi' and 'asoc/topic/tas2552' into asoc-next 2017-04-30 22:16:31 +09:00
Makefile Merge remote-tracking branches 'asoc/topic/sta529', 'asoc/topic/sti', 'asoc/topic/stm', 'asoc/topic/sunxi' and 'asoc/topic/tas2552' into asoc-next 2017-04-30 22:16:31 +09:00
soc-ac97.c ASoC: Fixup some small kernel-doc typos 2017-01-12 17:23:01 +00:00
soc-cache.c
soc-compress.c
soc-core.c scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
soc-dapm.c ASoC: dapm: fix some pointer error handling 2017-01-20 13:11:02 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: Revert "Drop SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag" 2017-01-23 18:16:33 +00:00
soc-io.c
soc-jack.c ASoC: jack: add snd_soc_codec_set_jack 2017-04-10 19:46:09 +01:00
soc-ops.c ASoC: Fixup some small kernel-doc typos 2017-01-12 17:23:01 +00:00
soc-pcm.c Merge remote-tracking branch 'asoc/topic/component' into asoc-next 2017-02-19 16:35:41 +00:00
soc-topology.c Merge remote-tracking branches 'asoc/topic/tegra', 'asoc/topic/tlv320aic23', 'asoc/topic/topology', 'asoc/topic/twl6040' and 'asoc/topic/txx9' into asoc-next 2017-04-30 22:16:37 +09:00
soc-utils.c