greybus: Fix missing gb_protocol_exit() on gb_exit()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 13 Nov 2014 12:44:33 +0000 (18:14 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 21:16:05 +0000 (13:16 -0800)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c

index 1d05c35..7428206 100644 (file)
@@ -302,6 +302,7 @@ error_bus:
 
 static void __exit gb_exit(void)
 {
+       gb_protocol_exit();
        gb_operation_exit();
        gb_gbuf_exit();
        gb_ap_exit();