commit | 80d1ede88ab081bd901bd5b3dc2461083915d1d1 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Wed Sep 23 16:48:10 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Thu Sep 24 15:25:03 2015 -0700 |
tree | 16d617fa2f64ab04979e853afb310f779dd255be | |
parent | 6bec5c78e59dd847c095f4a868baf14be871c8bb [diff] |
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>