diff options
author | Chen Jun <chenjun102@huawei.com> | 2022-11-18 15:40:03 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-25 17:45:55 +0100 |
commit | 3f25add5ecf88de0f8ff2b27b6c0731a1f1b38ed (patch) | |
tree | ce123dfd9aad8a7ccb909ee1712bc65df9e9aebd /fs/buffer.c | |
parent | 7d606ae1abcc3eab5408e42444d789dc7def51b8 (diff) |
Input: i8042 - fix leaking of platform device on module removal
[ Upstream commit 81cd7e8489278d28794e7b272950c3e00c344e44 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions