]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: properly drop device reference
authorAlex Elder <elder@linaro.org>
Mon, 20 Oct 2014 15:27:55 +0000 (10:27 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 20 Oct 2014 22:25:54 +0000 (06:25 +0800)
commit599dc6aa8ed91addf38814de22bdb5bb813a95aa
tree46533b25847a5fa32583cfb9817f483041238a61
parent6813e35a0ea48749b4d0f1eb1c4df35f4fa2a4c1
greybus: properly drop device reference

Drop the USB device reference taken at the top of ap_probe() in the
event greybus_create_hd() fails.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1-ap-usb.c