summaryrefslogtreecommitdiff
path: root/drivers/mailbox/stm32-ipcc.c
diff options
context:
space:
mode:
authorFabien Dessenne <fabien.dessenne@st.com>2019-01-04 14:47:48 +0100
committerJassi Brar <jaswinder.singh@linaro.org>2019-03-06 20:33:59 -0600
commit419d67f3ec0aa5e13a51eebab4dbcd71737c7dbc (patch)
tree1e2ce8e9d89797f1a875edf8b1e4d0208140b796 /drivers/mailbox/stm32-ipcc.c
parenteac36c8651210df34d43331a6cc3fb3c2ee7abe2 (diff)
mailbox: stm32-ipcc: remove useless device_init_wakeup call
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>
Diffstat (limited to 'drivers/mailbox/stm32-ipcc.c')
-rw-r--r--drivers/mailbox/stm32-ipcc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mailbox/stm32-ipcc.c b/drivers/mailbox/stm32-ipcc.c
index 7ca8a14138b7..210fe504f5ae 100644
--- 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 */