Skip to content

PM: wakeup: make device_wakeup_disable return void

Dhruva Gole linux-mmc linux-pm lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Squashed the mmc fix into first patch [Rafael]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM: wakeup: make device_wakeup_disable return voiddrivers/base/power/wakeup.c drivers/mmc/host/sdhci-pci-core.c include/linux/pm_wakeup.h+10 -80 replies
2/2PM: wakeup: Remove unnecessary else from device_init_wakeupinclude/linux/pm_wakeup.h+3 -40 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 0/2] PM: wakeup: make device_wakeup_disable return void

This is a follow up patch based on discussions with Rafael[0] on a previous patch I sent to propagate return value from device_wakeup_disable further upward inside device_init_wakeup

However, it doesn't seem like today any return values from device_wakeup_disable are very useful to the caller.

I could only spot one caller of this function that was actually propagating the return value upward other than the PM core calls. I have tried to update sdhci-pci-core to work with the new changes

[0] https://lore.kernel.org/all/CAJZ5v0jbHwiZemtNAoM-jmgB_58VqmKUkqv4P7qrPkxWzBzMyQ@mail.gmail.com/

Changelog:

v1 --> v2:
* Squashed the mmc fix into first patch [Rafael]

Dhruva Gole (2):
PM: wakeup: make device_wakeup_disable return void
PM: wakeup: Remove unnecessary else from device_init_wakeup

 drivers/base/power/wakeup.c       | 11 +++++++----
 drivers/mmc/host/sdhci-pci-core.c |  2 +-
 include/linux/pm_wakeup.h         | 12 +++++-------
 3 files changed, 13 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1