OSDN Git Service

greybus: sdio: change the order of remove and free mmc host
authorPhong Tran <tranmanphong@gmail.com>
Fri, 26 Jun 2015 14:05:12 +0000 (21:05 +0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 30 Jun 2015 01:06:08 +0000 (18:06 -0700)
commit9b86bdf96ef79e5e286628cb2e3ea6639db71904
tree864d8b4fd8f3e969e06dc5c409d573fc6f0f0b3a
parent153f4784b428b3b5ef9d43ab9f8fa5322bc3717c
greybus: sdio: change the order of remove and free mmc host

The mmc host should be removed frist. Then it
will be freed.

Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/sdio.c