greybus: vibrator: add missing protocol-register error handling
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 13 Oct 2015 17:10:27 +0000 (19:10 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 14 Oct 2015 19:08:50 +0000 (12:08 -0700)
commitd4efa68803667ab9d3ff6786462d2702b89e58de
tree2acd41893b06e5450eaf9bef6fb33f782961c361
parent4505c4d44a660866f2006eacafcb8c7d182ec182
greybus: vibrator: add missing protocol-register error handling

Add missing error handling when registering the vibrator protocol during
module init.

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