[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230309150334.216760-1-james.clark@arm.com>
Date: Thu, 9 Mar 2023 15:03:29 +0000
From: James Clark <james.clark@....com>
To: linux-kernel@...r.kernel.org, linux@...ck-us.net,
michal.simek@....com
Cc: James Clark <james.clark@....com>,
Jonathan Corbet <corbet@....net>,
Jean Delvare <jdelvare@...e.com>,
Anand Ashok Dumbre <anand.ashok.dumbre@...inx.com>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Michal Simek <michal.simek@...inx.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>, linux-doc@...r.kernel.org,
linux-hwmon@...r.kernel.org, linux-iio@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-serial@...r.kernel.org
Subject: [PATCH v2 0/4] devres: Provide krealloc_array
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
Powered by blists - more mailing lists