public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: simplify return statements
@ 2026-02-20 13:18 Antoniu Miclaus
  2026-02-20 13:18 ` [PATCH 1/2] iio: adc: ad7266: simplify error return Antoniu Miclaus
  2026-02-20 13:18 ` [PATCH 2/2] iio: addac: ad74413r: simplify timeout return Antoniu Miclaus
  0 siblings, 2 replies; 6+ messages in thread
From: Antoniu Miclaus @ 2026-02-20 13:18 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	David Lechner, Nuno Sá, Andy Shevchenko, Cosmin Tanislav,
	linux-iio, linux-kernel
  Cc: Antoniu Miclaus

Minor cleanups across two IIO drivers to simplify return paths by
removing unnecessary intermediate variable assignments before returning
error codes.

Antoniu Miclaus (2):
  iio: adc: ad7266: simplify error return
  iio: addac: ad74413r: simplify timeout return

 drivers/iio/adc/ad7266.c     | 6 ++----
 drivers/iio/addac/ad74413r.c | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-02-22 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-20 13:18 [PATCH 0/2] iio: simplify return statements Antoniu Miclaus
2026-02-20 13:18 ` [PATCH 1/2] iio: adc: ad7266: simplify error return Antoniu Miclaus
2026-02-20 14:09   ` Andy Shevchenko
2026-02-22 16:50     ` Jonathan Cameron
2026-02-20 13:18 ` [PATCH 2/2] iio: addac: ad74413r: simplify timeout return Antoniu Miclaus
2026-02-20 14:08   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox