diff options
author | Chen Jun <chenjun102@huawei.com> | 2022-11-19 02:40:03 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-11-19 02:59:02 +0300 |
commit | 81cd7e8489278d28794e7b272950c3e00c344e44 (patch) | |
tree | b7a5cb3fe3017b5ff84c9bbda1404505b4f95d8e /Documentation/devicetree | |
parent | 26c263bf1847d4dadba016a0457c4c5f446407bf (diff) | |
download | linux-81cd7e8489278d28794e7b272950c3e00c344e44.tar.xz |
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: 9222ba68c3f4 ("Input: i8042 - add deferred probe support")
Signed-off-by: Chen Jun <chenjun102@huawei.com>
Link: https://lore.kernel.org/r/20221109034148.23821-1-chenjun102@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions