All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] i2c: qup: remove unnecessary CONFIG_PM_SLEEP
@ 2020-10-29  7:46 Coiby Xu
  2020-10-29  7:46   ` Coiby Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Coiby Xu @ 2020-10-29  7:46 UTC (permalink / raw)
  To: linux-i2c
  Cc: Andy Gross, Bjorn Andersson, open list:ARM/QUALCOMM SUPPORT, open list

SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.

Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
 drivers/i2c/busses/i2c-qup.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c
index fbc04b60cfd1..bf63e4567705 100644
--- a/drivers/i2c/busses/i2c-qup.c
+++ b/drivers/i2c/busses/i2c-qup.c
@@ -1940,7 +1940,6 @@ static int qup_i2c_pm_resume_runtime(struct device *device)
 }
 #endif
 
-#ifdef CONFIG_PM_SLEEP
 static int qup_i2c_suspend(struct device *device)
 {
 	if (!pm_runtime_suspended(device))
@@ -1955,7 +1954,6 @@ static int qup_i2c_resume(struct device *device)
 	pm_request_autosuspend(device);
 	return 0;
 }
-#endif
 
 static const struct dev_pm_ops qup_i2c_qup_pm_ops = {
 	SET_SYSTEM_SLEEP_PM_OPS(
-- 
2.28.0


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

end of thread, other threads:[~2020-11-05 14:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29  7:46 [PATCH 1/5] i2c: qup: remove unnecessary CONFIG_PM_SLEEP Coiby Xu
2020-10-29  7:46 ` [PATCH 2/5] i2c: mediatek: " Coiby Xu
2020-10-29  7:46   ` Coiby Xu
2020-10-29  7:46   ` Coiby Xu
2020-10-29  7:46 ` [PATCH 3/5] i2c: brcmstb: " Coiby Xu
2020-10-29  7:46   ` Coiby Xu
2020-11-04  3:28   ` Florian Fainelli
2020-11-04  3:28     ` Florian Fainelli
2020-10-29  7:46 ` [PATCH 4/5] i2c: nomadik: " Coiby Xu
2020-10-29  7:46   ` Coiby Xu
2020-11-05 14:03   ` Linus Walleij
2020-11-05 14:03     ` Linus Walleij
2020-10-29  7:46 ` [PATCH 5/5] i2c: stm32: " Coiby Xu
2020-10-29  7:46   ` Coiby Xu
2020-10-29 11:31   ` Fabrice Gasnier
2020-10-29 11:31     ` Fabrice Gasnier
2020-10-29 14:18     ` Coiby Xu
2020-10-29 14:18       ` Coiby Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.