greybus: protocol: dedup protocol find code

in protocol register replace the protocol find code with the call to the already
existing function.

Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
1 file changed
tree: ce1d3805aa322176593a5e46a31dd0952fac54c2
  1. drivers/