projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eac36c8
)
mailbox: stm32-ipcc: remove useless device_init_wakeup call
author
Fabien Dessenne
<fabien.dessenne@st.com>
Fri, 4 Jan 2019 13:47:48 +0000
(14:47 +0100)
committer
Jassi Brar
<jaswinder.singh@linaro.org>
Thu, 7 Mar 2019 02:33:59 +0000
(20:33 -0600)
If the "wakeup-source" property does not exist there is no need to call
device_init_wakeup("false") at probe.
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/stm32-ipcc.c
patch
|
blob
|
history
diff --git
a/drivers/mailbox/stm32-ipcc.c
b/drivers/mailbox/stm32-ipcc.c
index 7ca8a14138b7b5ac19dfddb1e046115aa03f5672..210fe504f5aee9954cccc33512bbf11b536b1122 100644
(file)
--- a/
drivers/mailbox/stm32-ipcc.c
+++ b/
drivers/mailbox/stm32-ipcc.c
@@
-276,8
+276,6
@@
static int stm32_ipcc_probe(struct platform_device *pdev)
dev_err(dev, "Failed to set wake up irq\n");
goto err_init_wkp;
}
- } else {
- device_init_wakeup(dev, false);
}
/* mailbox controller */