summaryrefslogtreecommitdiff
path: root/rust/kernel/security.rs
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>2025-06-21 21:12:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-15 16:38:28 +0200
commit7f6908189f72e7d832cd332742e6270b05748a64 (patch)
treededa5a14c09fb263c7f6992fb0348509ddcd281a /rust/kernel/security.rs
parent920feaa233ea7ac249aab6481a183953731f44da (diff)
usb: typec: ucsi: yoga-c630: fix error and remove paths
[ Upstream commit 168c3896f32e78e7b87f6aa9e85af36e47a9f96c ] Fix memory leak and call ucsi_destroy() from the driver's remove function and probe's error path in order to remove debugfs files and free the memory. Also call yoga_c630_ec_unregister_notify() in the probe's error path. Fixes: 2ea6d07efe53 ("usb: typec: ucsi: add Lenovo Yoga C630 glue driver") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20250621-c630-ucsi-v1-1-a86de5e11361@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/kernel/security.rs')
0 files changed, 0 insertions, 0 deletions