Skip to content

Refactor ADT7X10

Cosmin Tanislav linux-hwmon lkml 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesIn review
  2. v28 patches 2 repliesSuperseded
  3. v18 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* merge patch that passes name from i2c driver into the devm_hwmon_device_register_with_info patch

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hwmon: (adt7x10) Store bus_dev in private datadrivers/hwmon/adt7x10.c+2 -00 replies
2/7hwmon: (adt7x10) Add device managed action for restoring configdrivers/hwmon/adt7x10.c+17 -60 replies
3/7hwmon: (adt7x10) Use devm_hwmon_device_register_with_infodrivers/hwmon/adt7410.c drivers/hwmon/adt7x10.c+115 -1203 replies
4/7hwmon: (adt7x10) Use devm_request_threaded_irqdrivers/hwmon/adt7x10.c+5 -50 replies
5/7hwmon: (adt7x10) Remove empty driver removal callbackdrivers/hwmon/adt7310.c drivers/hwmon/adt7410.c drivers/hwmon/adt7x10.c +1 more+0 -200 replies
6/7hwmon: (adt7x10) Pass hwinfo dev to irq handlerdrivers/hwmon/adt7x10.c+4 -20 replies
7/7hwmon: (adt7x10) Use hwmon_notify_eventdrivers/hwmon/adt7x10.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/7] Refactor ADT7X10

V1 -> V2:
* add device managed action for restoring config
* merge multiple small related patches into a single patch that converts the driver to use devm_hwmon_device_register_with_info
* switch to devm_request_threaded_irq after switching to devm_hwmon_device_register_with_info to make sure that it is impossible for the interrupt handler to access the freed hwmon device
* drop core driver remove callback

V2 -> V3:
* merge patch that passes name from i2c driver into the devm_hwmon_device_register_with_info patch

Cosmin Tanislav (7):
hwmon: (adt7x10) Store bus_dev in private data
hwmon: (adt7x10) Add device managed action for restoring config
hwmon: (adt7x10) Use devm_hwmon_device_register_with_info
hwmon: (adt7x10) Use devm_request_threaded_irq
hwmon: (adt7x10) Remove empty driver removal callback
hwmon: (adt7x10) Pass hwinfo dev to irq handler
hwmon: (adt7x10) Use hwmon_notify_event

 drivers/hwmon/adt7310.c |   7 -
 drivers/hwmon/adt7410.c |   9 +-
 drivers/hwmon/adt7x10.c | 281 ++++++++++++++++++++--------------------
 drivers/hwmon/adt7x10.h |   1 -
 4 files changed, 144 insertions(+), 154 deletions(-)
Signature · 1 line
2.34.1