mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/2] PM: wakeup: make device_wakeup_disable return void
@ 2024-03-18 15:16 Dhruva Gole
  2024-03-18 15:16 ` [PATCH V2 1/2] " Dhruva Gole
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dhruva Gole @ 2024-03-18 15:16 UTC (permalink / raw)
  To: Rafael J . Wysocki
  Cc: Tony Lindgren, Len Brown, Pavel Machek, Greg Kroah-Hartman,
	Viresh Kumar, theo.lebrun, Dhruva Gole, linux-pm, linux-kernel,
	linux-mmc

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(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-04-03 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-18 15:16 [PATCH V2 0/2] PM: wakeup: make device_wakeup_disable return void Dhruva Gole
2024-03-18 15:16 ` [PATCH V2 1/2] " Dhruva Gole
2024-03-18 15:16 ` [PATCH V2 2/2] PM: wakeup: Remove unnecessary else from device_init_wakeup Dhruva Gole
2024-04-03 14:53 ` [PATCH V2 0/2] PM: wakeup: make device_wakeup_disable return void Rafael J. Wysocki

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®