mbox series

[v2,0/3] iio: temperature: ltc2983: small improvements

Message ID 20240229-ltc2983-misc-improv-v2-0-cc6f03da2529@analog.com (mailing list archive)
Headers show
Series iio: temperature: ltc2983: small improvements | expand

Message

Nuno Sa Feb. 29, 2024, 4:11 p.m. UTC
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á