Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: use int type to store negative error codes
@ 2025-09-01 13:57 Qianfeng Rong
  2025-09-01 13:57 ` [PATCH v2 1/2] iio: dac: ad5360: " Qianfeng Rong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Qianfeng Rong @ 2025-09-01 13:57 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	David Lechner, Nuno Sá, Andy Shevchenko, Greg Kroah-Hartman,
	open list:IIO SUBSYSTEM AND DRIVERS, open list
  Cc: Qianfeng Rong

Use int instead of unsigned int for 'ret' variable in ad5360_update_ctrl()
and ad5421_update_ctrl() to store negative error codes or zero returned by
other functions.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
---
v2: Split each driver into a separate patch.
---
Qianfeng Rong (2):
  iio: dac: ad5360: use int type to store negative error codes
  iio: dac: ad5421: use int type to store negative error codes

 drivers/iio/dac/ad5360.c | 2 +-
 drivers/iio/dac/ad5421.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-09-01 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-01 13:57 [PATCH v2 0/2] iio: use int type to store negative error codes Qianfeng Rong
2025-09-01 13:57 ` [PATCH v2 1/2] iio: dac: ad5360: " Qianfeng Rong
2025-09-01 13:57 ` [PATCH v2 2/2] iio: dac: ad5421: " Qianfeng Rong
2025-09-01 15:46 ` [PATCH v2 0/2] iio: " Andy Shevchenko
2025-09-01 16:40 ` Jonathan Cameron

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