mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
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:
parent
eac36c8651
commit
419d67f3ec
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user