greybus: interface: Pass interface pointer to gb_interface_remove()

The callers already have a valid interface pointer and there is no need
for gb_interface_remove() to find the interface again.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c
index b59d76f..da2ffd6 100644
--- a/drivers/staging/greybus/svc.c
+++ b/drivers/staging/greybus/svc.c
@@ -374,7 +374,7 @@
 	u8 device_id;
 
 	device_id = intf->device_id;
-	gb_interface_remove(hd, intf_id);
+	gb_interface_remove(intf);
 
 	/*
 	 * Destroy the two-way route between the AP and the interface.
@@ -497,7 +497,7 @@
 ida_put:
 	ida_simple_remove(&svc->device_id_map, device_id);
 destroy_interface:
-	gb_interface_remove(hd, intf_id);
+	gb_interface_remove(intf);
 free_svc_hotplug:
 	kfree(svc_hotplug);
 }