mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] iio: humidity: hdc100x: add manufacturer and device ID check
@ 2022-07-27 16:41 Potin Lai
  2022-07-27 16:41 ` [PATCH v3 1/2] iio: humidity: hdc100x: switch to probe_new callback Potin Lai
  2022-07-27 16:41 ` [PATCH v3 2/2] iio: humidity: hdc100x: add manufacturer and device ID check Potin Lai
  0 siblings, 2 replies; 5+ messages in thread
From: Potin Lai @ 2022-07-27 16:41 UTC (permalink / raw)
  To: Andy Shevchenko, Jonathan Cameron, Lars-Peter Clausen
  Cc: Patrick Williams, Potin Lai, linux-iio, linux-kernel, Potin Lai

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

LINK: [v1] https://lore.kernel.org/all/20220722172035.44977-1-potin.lai.pt@gmail.com/
LINK: [v2] https://lore.kernel.org/all/20220727064415.940690-1-potin.lai.pt@gmail.com/

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

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 | 75 +++++++++++++++++++++++++++-------
 1 file changed, 61 insertions(+), 14 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-07-27 18:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 16:41 [PATCH v3 0/2] iio: humidity: hdc100x: add manufacturer and device ID check Potin Lai
2022-07-27 16:41 ` [PATCH v3 1/2] iio: humidity: hdc100x: switch to probe_new callback Potin Lai
2022-07-27 17:06   ` Andy Shevchenko
2022-07-27 16:41 ` [PATCH v3 2/2] iio: humidity: hdc100x: add manufacturer and device ID check Potin Lai
2022-07-27 17:14   ` Andy Shevchenko

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

all inboxes | Powered by JetHome®