linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] devres: Provide krealloc_array
@ 2023-03-20 14:57 James Clark
  2023-03-20 14:57 ` [PATCH v3 1/4] " James Clark
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: James Clark @ 2023-03-20 14:57 UTC (permalink / raw)
  To: linux-kernel, linux, michal.simek, Jonathan.Cameron
  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 v2:
 
 * Remove change in qcom_geni_serial.c in the last commmit and replace
   it with a comment instead
 * Whitespace fix

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

Thanks
James

James Clark (4):
  devres: Provide krealloc_array
  hwmon: pmbus: Use devm_krealloc_array
  iio: adc: Use devm_krealloc_array
  serial: qcom_geni: Comment use of devm_krealloc rather than
    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           |  5 +++++
 include/linux/device.h                          | 11 +++++++++++
 6 files changed, 30 insertions(+), 19 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-04-25 13:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 14:57 [PATCH v3 0/4] devres: Provide krealloc_array James Clark
2023-03-20 14:57 ` [PATCH v3 1/4] " James Clark
2023-03-20 14:57 ` [PATCH v3 2/4] hwmon: pmbus: Use devm_krealloc_array James Clark
2023-03-20 14:57 ` [PATCH v3 3/4] iio: adc: " James Clark
2023-03-20 14:57 ` [PATCH v3 4/4] serial: qcom_geni: Comment use of devm_krealloc rather than devm_krealloc_array James Clark
2023-03-25 19:14   ` Jonathan Cameron
2023-04-25 12:51 ` [PATCH v3 0/4] devres: Provide krealloc_array James Clark
2023-04-25 13:00   ` Greg Kroah-Hartman

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).