[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240705-cleanup-h-iio-v1-0-77114c7e84c5@linaro.org>
Date: Fri, 05 Jul 2024 12:40:43 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Dan Robertson <dan@...obertson.com>,
Jonathan Cameron <jic23@...nel.org>, 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
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH 0/6] iio: adc: simplify with cleanup.h
Allocate the memory with scoped/cleanup.h to reduce error handling and
make the code a bit simpler.
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,
--
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Powered by blists - more mailing lists