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>
This commit is contained in:
Fabien Dessenne 2019-01-04 14:47:48 +01:00 committed by Jassi Brar
parent eac36c8651
commit 419d67f3ec
1 changed files with 0 additions and 2 deletions

View File

@ -276,8 +276,6 @@ static int stm32_ipcc_probe(struct platform_device *pdev)
dev_err(dev, "Failed to set wake up irq\n"); dev_err(dev, "Failed to set wake up irq\n");
goto err_init_wkp; goto err_init_wkp;
} }
} else {
device_init_wakeup(dev, false);
} }
/* mailbox controller */ /* mailbox controller */