Skip to content

iio: humidity: hdc100x: add manufacturer and device ID check

Potin Lai linux-devicetree linux-iio lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 13 repliesIn review
  2. v42 patches 2 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch4 repliesSuperseded
v11 patch1 replySuperseded

Changes in v5 from the cover letter

- remove hdc100x_chip_data pointer from hdc100x_data structure

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: humidity: hdc100x: switch to probe_new callbackdrivers/iio/humidity/hdc100x.c+2 -33 replies
2/2iio: humidity: hdc100x: add manufacturer and device ID checkdrivers/iio/humidity/hdc100x.c+56 -1110 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] iio: humidity: hdc100x: add manufacturer and device ID check

In this patch series, we move the callback from probe to probe_new, and add manufacturer and device ID check for hdc100x driver.

changes v1 --> v2:
- fix typo in commit message
- change to use probe_new
- use device_get_match_data instead of i2c_of_match_device

changes v2 --> v3:
- move probe_new part into a separate patch
- remove unsed variable
- remove redundant checking of matched data

changes v3 --> v4:
- move ID support checking to probe()
- add hdc100x_chip_data pointer into hdc100x_data for accessing in future

changes v4 --> v5:
- remove hdc100x_chip_data pointer from hdc100x_data structure

Potin Lai (2):
iio: humidity: hdc100x: switch to probe_new callback
iio: humidity: hdc100x: add manufacturer and device ID check

 drivers/iio/humidity/hdc100x.c | 72 +++++++++++++++++++++++++++-------
 1 file changed, 58 insertions(+), 14 deletions(-)
Signature · 1 line
2.31.1