Commit 1b1ba475 authored by Jack Pham's avatar Jack Pham
Browse files

usb: misc: fix memory leaks



Replace calls to platform_device_del with platform_device_unregister
which calls device_put to properly free the device structure.

CRs-fixed: 366005
Change-Id: Ic3d82e50383fa475f50c73e5982ef718a9eaa26f
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 26d45460
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment