greybus: protocol: dedup protocol find code
authorRui Miguel Silva <rmfrfs@gmail.com>
Tue, 20 Jan 2015 17:26:18 +0000 (17:26 +0000)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 21 Jan 2015 01:45:59 +0000 (09:45 +0800)
commit580c47d8b4643730be2aef344562953377239ea3
treece1d3805aa322176593a5e46a31dd0952fac54c2
parent0008d9d0ad0a2e854f2f3f61d58cdc44d98760ff
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>
drivers/staging/greybus/protocol.c