greybus: svc: clean up svc initialisation
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 25 Nov 2015 14:59:07 +0000 (15:59 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 25 Nov 2015 23:30:03 +0000 (15:30 -0800)
commit6106e51b742b32954351e6020cdb789bc33bf120
treef4c8bd769cdfc434b539ede3b759ee85efb61fe5
parentefe6ef76ba97f20302d200368d9f99848350bae1
greybus: svc: clean up svc initialisation

Make sure to initialise the svc device fully before adding it to the
host device.

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