linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] iio: adc: simplify with cleanup.h
@ 2024-07-05 10:40 Krzysztof Kozlowski
  2024-07-05 10:40 ` [PATCH 1/6] iio: accel: bma400: " Krzysztof Kozlowski
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-05 10:40 UTC (permalink / raw)
  To: Dan Robertson, Jonathan Cameron, Lars-Peter Clausen,
	Michael Hennerich, Nicolas Ferre, Alexandre Belloni,
	Claudiu Beznea, Oleksij Rempel, kernel
  Cc: linux-iio, linux-kernel, linux-arm-kernel, Krzysztof Kozlowski

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@linaro.org>


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

end of thread, other threads:[~2024-07-07 11:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05 10:40 [PATCH 0/6] iio: adc: simplify with cleanup.h Krzysztof Kozlowski
2024-07-05 10:40 ` [PATCH 1/6] iio: accel: bma400: " Krzysztof Kozlowski
2024-07-05 10:40 ` [PATCH 2/6] iio: adc: ad7280a: " Krzysztof Kozlowski
2024-07-05 11:43   ` Nuno Sá
2024-07-05 10:40 ` [PATCH 3/6] iio: adc: at91: " Krzysztof Kozlowski
2024-07-05 10:40 ` [PATCH 4/6] iio: adc: max1363: " Krzysztof Kozlowski
2024-07-05 11:45   ` Nuno Sá
2024-07-05 10:40 ` [PATCH 5/6] iio: adc: ti-tsc2046: " Krzysztof Kozlowski
2024-07-06  5:08   ` Oleksij Rempel
2024-07-05 10:40 ` [PATCH 6/6] iio: adc: ad5755: drop redundant devm_kfree() Krzysztof Kozlowski
2024-07-05 11:47   ` Nuno Sá
2024-07-06 10:52   ` Jonathan Cameron
2024-07-07 11:34     ` Krzysztof Kozlowski
2024-07-06 10:55 ` [PATCH 0/6] iio: adc: simplify with cleanup.h Jonathan Cameron

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