greybus: hid: clean up init error paths
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 21 Jan 2016 16:34:22 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 22 Jan 2016 06:46:38 +0000 (22:46 -0800)
commit5dd8cc5370dbf68f17ed9443be6bcc54afbef204
tree36474e9562c7bb70165796318743c3fd92e43fd8
parentf7ee081e3151e187e7478eb8941f61744f125201
greybus: hid: clean up init error paths

Separate success and error paths more clearly.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/hid.c