History

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.

Fabien Dessenne committed 7 years ago

Commit 419d67f1 parent eac36c81 file · +0 −2Browse files

Unified · Split

drivers/mailbox/stm32-ipcc.c+0−2
@@ -276,8 +276,6 @@ static int stm32_ipcc_probe(struct platform_device *pdev) · 275 unmodified lines
276 dev_err(dev, "Failed to set wake up irq\n");276 dev_err(dev, "Failed to set wake up irq\n");
277 goto err_init_wkp;277 goto err_init_wkp;
278 }278 }
279 } else {
280 device_init_wakeup(dev, false);
281 }279 }
282 280
283 /* mailbox controller */281 /* mailbox controller */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t