[media] vim2m: return error if driver registration fails
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 25 Dec 2015 17:25:16 +0000 (15:25 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 09:37:46 +0000 (07:37 -0200)
commitb20b51f090f81418b4f74232a0f414b886e8ba8c
tree52191b1586096fd04829ab3e5eda72511ea87697
parentfaccb05ca8fb56c140fdeb70ae599e559c01c815
[media] vim2m: return error if driver registration fails

Don't hide the error code.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vim2m.c