Skip to content

use devm and get irq in probe

Rosen Penev linux-i2c lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i2c: ibm_iic: ioremap with platform pointerdrivers/i2c/busses/i2c-ibm_iic.c+6 -110 replies
2/3i2c: ibm_iic: get the irq early in probedrivers/i2c/busses/i2c-ibm_iic.c+24 -190 replies
3/3i2c: ibm_iic: use devm for main allocationdrivers/i2c/busses/i2c-ibm_iic.c+1 -40 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/3] use devm and get irq in probe

Simplifies probe slightly and handles potential -EPROBE_DEFER a bit better.

v2: reword descriptions slightly. Handle iic_force_poll before getting the irq.

Rosen Penev (3):
i2c: ibm_iic: ioremap with platform pointer
i2c: ibm_iic: get the irq early in probe
i2c: ibm_iic: use devm for main allocation

 drivers/i2c/busses/i2c-ibm_iic.c | 65 +++++++++++++++-----------------
 1 file changed, 31 insertions(+), 34 deletions(-)
Signature · 1 line
2.55.0