[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240706115538.33341034@jic23-huawei>
Date: Sat, 6 Jul 2024 11:55:38 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Dan Robertson <dan@...obertson.com>, Lars-Peter Clausen
<lars@...afoo.de>, Michael Hennerich <Michael.Hennerich@...log.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>, Alexandre Belloni
<alexandre.belloni@...tlin.com>, Claudiu Beznea <claudiu.beznea@...on.dev>,
Oleksij Rempel <o.rempel@...gutronix.de>, kernel@...gutronix.de,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 0/6] iio: adc: simplify with cleanup.h
On Fri, 05 Jul 2024 12:40:43 +0200
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org> wrote:
> Allocate the memory with scoped/cleanup.h to reduce error handling and
> make the code a bit simpler.
For now I've applied 1-5 as I think 6 needs a little more discussion.
Note applied only to the testing branch of iio.git for now.
That will become the togreg branch and get picked up by linux-next etc
after I've rebased on 6.11-rc1.
Jonathan
>
> Best regards,
> Krzysztof
>
> ---
> Krzysztof Kozlowski (6):
> iio: accel: bma400: simplify with cleanup.h
> iio: adc: ad7280a: simplify with cleanup.h
> iio: adc: at91: simplify with cleanup.h
> iio: adc: max1363: simplify with cleanup.h
> iio: adc: ti-tsc2046: simplify with cleanup.h
> iio: adc: ad5755: drop redundant devm_kfree()
>
> drivers/iio/accel/bma400_core.c | 11 +++++------
> drivers/iio/adc/ad7280a.c | 10 ++++------
> drivers/iio/adc/at91_adc.c | 13 +++++--------
> drivers/iio/adc/max1363.c | 34 +++++++++++++---------------------
> drivers/iio/adc/ti-tsc2046.c | 29 ++++++++++++-----------------
> drivers/iio/dac/ad5755.c | 1 -
> 6 files changed, 39 insertions(+), 59 deletions(-)
> ---
> base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
> change-id: 20240705-cleanup-h-iio-c90ca38865a4
>
> Best regards,
Powered by blists - more mailing lists