Skip to content

Commit 419d67f

Browse files
FDESTMJassiBrar
authored andcommitted
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>
1 parent eac36c8 commit 419d67f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mailbox/stm32-ipcc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ static int stm32_ipcc_probe(struct platform_device *pdev)
276276
dev_err(dev, "Failed to set wake up irq\n");
277277
goto err_init_wkp;
278278
}
279-
} else {
280-
device_init_wakeup(dev, false);
281279
}
282280

283281
/* mailbox controller */

0 commit comments

Comments
 (0)