[PATCH 00/10] Use const where applicable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
2.34.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux