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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxxx

[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

- Nuno Sá

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux