Skip to content

drivers: provide devm_platform_request_irq()

Dejin Zheng linux-doc linux-i2c lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v3 posting 2/22 patches 4 repliesSuperseded
  3. v3 posting 1/20 of 2 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches8 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

- The patch v3 sent on May 27 may be lost somewhere in the world, so resend it.
- add Michal's Acked-by tag in the second patch. and Thanks for Michal's help.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drivers: provide devm_platform_request_irq()Documentation/driver-api/driver-model/devres.rst drivers/base/platform.c include/linux/platform_device.h+38 -00 replies
2/2i2c: busses: convert to devm_platform_request_irq()drivers/i2c/busses/i2c-bcm-kona.c drivers/i2c/busses/i2c-cadence.c drivers/i2c/busses/i2c-digicolor.c +10 more+35 -912 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLinus WalleijMichal SimekHeiko Stuebner
1/2
2/2A-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] drivers: provide devm_platform_request_irq()

It will call devm_request_irq() after platform_get_irq() function in many drivers, And sometimes, the error handling of these two functions is incorrect in some drivers. So this function is provided to simplify the driver.

the first patch will provide devm_platform_request_irq(), and the second patch will convert to devm_platform_request_irq() in some dirver of i2c bus.

v3 -> v4:
- The patch v3 sent on May 27 may be lost somewhere in the world, so resend it.
- add Michal's Acked-by tag in the second patch. and Thanks for Michal's help.

v2 -> v3:
- add devm_platform_request_irq() to devres.rst by Grygorii's suggestion.
- And also Thanks Michal, Wolfram and Linus's review and comments.
v1 -> v2:
- I give up this series of patches in v1 version. I resend this patches v2 by that discussion:
https://patchwork.ozlabs.org/project/linux-i2c/patch/[email protected]/
The patch content has not changed.

Dejin Zheng (2):
drivers: provide devm_platform_request_irq()
i2c: busses: convert to devm_platform_request_irq()

 .../driver-api/driver-model/devres.rst        |  1 +
 drivers/base/platform.c                       | 33 +++++++++++++++++++
 drivers/i2c/busses/i2c-bcm-kona.c             | 16 ++-------
 drivers/i2c/busses/i2c-cadence.c              | 10 ++----
 drivers/i2c/busses/i2c-digicolor.c            | 10 ++----
 drivers/i2c/busses/i2c-emev2.c                |  5 ++-
 drivers/i2c/busses/i2c-jz4780.c               |  5 ++-
 drivers/i2c/busses/i2c-meson.c                | 13 +++-----
 drivers/i2c/busses/i2c-mxs.c                  |  9 ++---
 drivers/i2c/busses/i2c-pnx.c                  |  9 ++---
 drivers/i2c/busses/i2c-rcar.c                 |  9 ++---
 drivers/i2c/busses/i2c-rk3x.c                 | 14 ++------
 drivers/i2c/busses/i2c-sirf.c                 | 10 ++----
 drivers/i2c/busses/i2c-stu300.c               |  4 +--
 drivers/i2c/busses/i2c-synquacer.c            | 12 ++-----
 include/linux/platform_device.h               |  4 +++
 16 files changed, 73 insertions(+), 91 deletions(-)
Signature · 1 line
2.25.0