mbox series

[00/10] Use const where applicable

Message ID 20240403093145.3375857-1-amadeuszx.slawinski@linux.intel.com
Headers show
Series Use const where applicable | expand

Message

Amadeusz Sławiński April 3, 2024, 9:31 a.m. UTC
Use devm_kstrdup_const in few places to possibly save a bit of memory.
Mark some of the structs as const, as they are not modified and used as
is.

Amadeusz Sławiński (10):
  ASoC: Intel: avs: hdaudio: Use devm_kstrdup_const
  ASoC: Intel: avs: Use devm_kstrdup_const
  ASoC: Intel: avs: hdaudio: Constify probing_link
  ASoC: Intel: avs: es8336: Constify card_headset_pins
  ASoC: Intel: avs: nau8825: Constify card_headset_pins
  ASoC: Intel: avs: rt274: Constify card_headset_pins
  ASoC: Intel: avs: rt286: Constify card_headset_pins
  ASoC: Intel: avs: rt298: Constify card_headset_pins
  ASoC: Intel: avs: rt5663: Constify card_headset_pins
  ASoC: Intel: avs: rt5682: Constify card_headset_pins

 sound/soc/intel/avs/avs.h            | 2 +-
 sound/soc/intel/avs/boards/es8336.c  | 2 +-
 sound/soc/intel/avs/boards/hdaudio.c | 6 +++---
 sound/soc/intel/avs/boards/nau8825.c | 2 +-
 sound/soc/intel/avs/boards/rt274.c   | 2 +-
 sound/soc/intel/avs/boards/rt286.c   | 2 +-
 sound/soc/intel/avs/boards/rt298.c   | 2 +-
 sound/soc/intel/avs/boards/rt5663.c  | 2 +-
 sound/soc/intel/avs/boards/rt5682.c  | 2 +-
 sound/soc/intel/avs/utils.c          | 8 ++++----
 10 files changed, 15 insertions(+), 15 deletions(-)


base-commit: 36d464cba8bdfd268282a97e9fdc701aca2ed8cb

Comments

Mark Brown April 3, 2024, 12:06 p.m. UTC | #1
On Wed, 03 Apr 2024 11:31:35 +0200, Amadeusz Sławiński wrote:
> Use devm_kstrdup_const in few places to possibly save a bit of memory.
> Mark some of the structs as const, as they are not modified and used as
> is.
> 
> Amadeusz Sławiński (10):
>   ASoC: Intel: avs: hdaudio: Use devm_kstrdup_const
>   ASoC: Intel: avs: Use devm_kstrdup_const
>   ASoC: Intel: avs: hdaudio: Constify probing_link
>   ASoC: Intel: avs: es8336: Constify card_headset_pins
>   ASoC: Intel: avs: nau8825: Constify card_headset_pins
>   ASoC: Intel: avs: rt274: Constify card_headset_pins
>   ASoC: Intel: avs: rt286: Constify card_headset_pins
>   ASoC: Intel: avs: rt298: Constify card_headset_pins
>   ASoC: Intel: avs: rt5663: Constify card_headset_pins
>   ASoC: Intel: avs: rt5682: Constify card_headset_pins
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[01/10] ASoC: Intel: avs: hdaudio: Use devm_kstrdup_const
        commit: 27aa58180473f81990f35238dc8aec40d34c778d
[02/10] ASoC: Intel: avs: Use devm_kstrdup_const
        commit: 68a71af3aee2b776a0030e1393864c9501997cbb
[03/10] ASoC: Intel: avs: hdaudio: Constify probing_link
        commit: a3c95efc432ddd18882cfab420cbea14937fb950
[04/10] ASoC: Intel: avs: es8336: Constify card_headset_pins
        commit: 2dbe7c809841e645a6b9d6d51801d3c594739d93
[05/10] ASoC: Intel: avs: nau8825: Constify card_headset_pins
        commit: bf400f16a03788ccdb1de1d9bfe9458082f24ef7
[06/10] ASoC: Intel: avs: rt274: Constify card_headset_pins
        commit: 130c953a75cc62dd5c73c295bae14197dce46b85
[07/10] ASoC: Intel: avs: rt286: Constify card_headset_pins
        commit: 682bedc8b0bae52fc5fc95cb3dba6e3d590da653
[08/10] ASoC: Intel: avs: rt298: Constify card_headset_pins
        commit: 33a886eee711298e799f1f52432e2f5e234cd015
[09/10] ASoC: Intel: avs: rt5663: Constify card_headset_pins
        commit: a055674868fa9d36f290dba906a76dd45801a37e
[10/10] ASoC: Intel: avs: rt5682: Constify card_headset_pins
        commit: 5faf65b5d1e36ec0a1eb3ba8ba2a8b7a779575ce

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark