]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: loopback: add more clean up when init connection fails
authorPhong Tran <tranmanphong@gmail.com>
Thu, 14 May 2015 16:03:04 +0000 (23:03 +0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 May 2015 16:49:04 +0000 (09:49 -0700)
commit6f8528e0bea76850a153a98e47ad60aecf112801
tree650566f839975eaa24e5b4a75327a0543f98534a
parent65cac604b21ae8c99bd501b369c254707f51c252
greybus: loopback: add more clean up when init connection fails

It should remove the object from sysfs when loopback
connection init error.

Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c