linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] devres: Provide krealloc_array
@ 2023-03-09 15:03 James Clark
  2023-03-09 15:03 ` [PATCH v2 1/4] " James Clark
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: James Clark @ 2023-03-09 15:03 UTC (permalink / raw)
  To: linux-kernel, linux, michal.simek
  Cc: James Clark, Jonathan Corbet, Jean Delvare, Anand Ashok Dumbre,
	Jonathan Cameron, Lars-Peter Clausen, Michal Simek, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Greg Kroah-Hartman, Jiri Slaby,
	linux-doc, linux-hwmon, linux-iio, linux-arm-kernel,
	linux-arm-msm, linux-serial

Changes since v1:

 * Style fix

-----------------------

Hi,

I had a use for a devm realloc_array in a separate change, so I've
added one and updated all the obvious existing uses of it that I could
find. This is basically a copy paste of the one in slab.h

Applies to v6.3-rc1

Thanks
James


James Clark (4):
  devres: Provide krealloc_array
  hwmon: pmbus: Use devm_krealloc_array
  iio: adc: Use devm_krealloc_array
  serial: qcom_geni: Use devm_krealloc_array

 .../driver-api/driver-model/devres.rst          |  1 +
 drivers/hwmon/pmbus/pmbus_core.c                |  6 +++---
 drivers/iio/adc/xilinx-ams.c                    |  9 +++------
 drivers/iio/adc/xilinx-xadc-core.c              | 17 +++++++----------
 drivers/tty/serial/qcom_geni_serial.c           |  6 +++---
 include/linux/device.h                          | 10 ++++++++++
 6 files changed, 27 insertions(+), 22 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-20 10:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 15:03 [PATCH v2 0/4] devres: Provide krealloc_array James Clark
2023-03-09 15:03 ` [PATCH v2 1/4] " James Clark
2023-03-11 19:02   ` Jonathan Cameron
2023-03-09 15:03 ` [PATCH v2 2/4] hwmon: pmbus: Use devm_krealloc_array James Clark
2023-03-11 19:06   ` Jonathan Cameron
2023-03-09 15:03 ` [PATCH v2 3/4] iio: adc: " James Clark
2023-03-11 19:05   ` Jonathan Cameron
2023-03-09 15:03 ` [PATCH v2 4/4] serial: qcom_geni: " James Clark
2023-03-11 19:18   ` Jonathan Cameron
2023-03-17 11:34     ` James Clark
2023-03-18 17:34       ` Jonathan Cameron
2023-03-20 10:03         ` James Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).