mbox series

[v2,0/6] Introduce devm_kmemdup_array() helper

Message ID 20241126172240.6044-1-raag.jadav@intel.com (mailing list archive)
Headers show
Series Introduce devm_kmemdup_array() helper | expand

Message

Raag Jadav Nov. 26, 2024, 5:22 p.m. UTC
This series introduces a more robust and cleaner devm_kmemdup_array()
helper and uses it across drivers.

v2: Use size_mul() for multiplication (Dmitry)
    Update commit message (Dmitry)

Raag Jadav (6):
  devres: Introduce devm_kmemdup_array()
  pinctrl: intel: copy communities using devm_kmemdup_array()
  pinctrl: tangier: use devm_kmemdup_array()
  pinctrl: pxa2xx: use devm_kmemdup_array()
  input: sparse-keymap: use devm_kmemdup_array()
  ASoC: Intel: avs: use devm_kmemdup_array()

 drivers/input/sparse-keymap.c           | 3 +--
 drivers/pinctrl/intel/pinctrl-intel.c   | 6 ++----
 drivers/pinctrl/intel/pinctrl-tangier.c | 5 ++---
 drivers/pinctrl/pxa/pinctrl-pxa2xx.c    | 8 ++++----
 include/linux/device.h                  | 5 +++++
 sound/soc/intel/avs/boards/da7219.c     | 3 ++-
 sound/soc/intel/avs/boards/es8336.c     | 3 ++-
 sound/soc/intel/avs/boards/nau8825.c    | 3 ++-
 sound/soc/intel/avs/boards/rt274.c      | 3 ++-
 sound/soc/intel/avs/boards/rt286.c      | 3 ++-
 sound/soc/intel/avs/boards/rt298.c      | 3 ++-
 sound/soc/intel/avs/boards/rt5663.c     | 3 ++-
 sound/soc/intel/avs/boards/rt5682.c     | 2 +-
 13 files changed, 29 insertions(+), 21 deletions(-)