Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabien Dessenne and committed by
Jassi Brar
419d67f3 eac36c86

-2
-2
drivers/mailbox/stm32-ipcc.c
··· 276 276 dev_err(dev, "Failed to set wake up irq\n"); 277 277 goto err_init_wkp; 278 278 } 279 - } else { 280 - device_init_wakeup(dev, false); 281 279 } 282 280 283 281 /* mailbox controller */