greybus: svc: refactor interface re-enable
authorJohan Hovold <johan@hovoldconsulting.com>
Sat, 23 Apr 2016 16:47:23 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 25 Apr 2016 18:08:30 +0000 (11:08 -0700)
commit844fcbfeb6491d95b7e19b4705f9eb576a210536
treee8707636cb9b38029fd6bbfb81b1960eeacb11f4
parentdeba0c03e9c12e2053ad5241c2fd59276439f2cd
greybus: svc: refactor interface re-enable

Add interface re-enable helper that is used during mode switch to
disable and re-enable (enumerate) an interface.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c