Commit 81cd7e8
Input: i8042 - fix leaking of platform device on module removal
Avoid resetting the module-wide i8042_platform_device pointer in
i8042_probe() or i8042_remove(), so that the device can be properly
destroyed by i8042_exit() on module unload.
Fixes: 9222ba6 ("Input: i8042 - add deferred probe support")
Signed-off-by: Chen Jun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>1 parent 26c263b commit 81cd7e8
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1543 | 1543 | | |
1544 | 1544 | | |
1545 | 1545 | | |
1546 | | - | |
1547 | | - | |
1548 | 1546 | | |
1549 | 1547 | | |
1550 | 1548 | | |
| |||
1582 | 1580 | | |
1583 | 1581 | | |
1584 | 1582 | | |
1585 | | - | |
1586 | 1583 | | |
1587 | 1584 | | |
1588 | 1585 | | |
| |||
1592 | 1589 | | |
1593 | 1590 | | |
1594 | 1591 | | |
1595 | | - | |
1596 | 1592 | | |
1597 | 1593 | | |
1598 | 1594 | | |
| |||
0 commit comments