devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] iio: temperature: ltc2983: small improvements
@ 2024-02-29 16:11 Nuno Sa
  2024-02-29 16:11 ` [PATCH v2 1/3] iio: temperature: ltc2983: convert to dev_err_probe() Nuno Sa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nuno Sa @ 2024-02-29 16:11 UTC (permalink / raw)
  To: linux-iio, devicetree
  Cc: Jonathan Cameron, Lars-Peter Clausen, Michael Hennerich,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley

This series adds small improvements to the driver. There's no functional
change intended for it.

For now, I'm using a macro (only for this driver) for handling error
pointers. I can propose something generic if that's preferred.

---
Changes in v2:
- Patch 1
  * Rebased on top of [1];
  * Added helper macro for returning error pointers with dev_err_probe();
  * Fixed some unnecessary line breaks.
- Patch 2
  * Make vdd-supply required.
- Link to v1: https://lore.kernel.org/r/20240222-ltc2983-misc-improv-v1-0-cf7d4457e98c@analog.com

[1]: https://lore.kernel.org/all/20240226193007.670a6406@jic23-huawei/

---
Nuno Sa (3):
      iio: temperature: ltc2983: convert to dev_err_probe()
      dt-bindings: iio: temperature: ltc2983: document power supply
      iio: temperature: ltc2983: support vdd regulator

 .../bindings/iio/temperature/adi,ltc2983.yaml      |   3 +
 drivers/iio/temperature/ltc2983.c                  | 267 ++++++++++-----------
 2 files changed, 130 insertions(+), 140 deletions(-)
---
base-commit: 74744b27ba8cb8c265263aa0ff0693350a8cbc19
change-id: 20240222-ltc2983-misc-improv-1c7a78ece93f
--

Thanks!
- Nuno Sá


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

end of thread, other threads:[~2024-03-01  7:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 16:11 [PATCH v2 0/3] iio: temperature: ltc2983: small improvements Nuno Sa
2024-02-29 16:11 ` [PATCH v2 1/3] iio: temperature: ltc2983: convert to dev_err_probe() Nuno Sa
2024-02-29 16:11 ` [PATCH v2 2/3] dt-bindings: iio: temperature: ltc2983: document power supply Nuno Sa
2024-02-29 17:26   ` Rob Herring
2024-03-01  7:16     ` Nuno Sá
2024-02-29 16:11 ` [PATCH v2 3/3] iio: temperature: ltc2983: support vdd regulator Nuno Sa

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