]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
greybus: interface: Pass interface pointer to gb_interface_remove()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 23 Sep 2015 23:48:10 +0000 (16:48 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 24 Sep 2015 22:25:03 +0000 (15:25 -0700)
commit80d1ede88ab081bd901bd5b3dc2461083915d1d1
tree16d617fa2f64ab04979e853afb310f779dd255be
parent6bec5c78e59dd847c095f4a868baf14be871c8bb
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>
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h
drivers/staging/greybus/svc.c