mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
[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>
This commit is contained in:
parent
faccb05ca8
commit
b20b51f090
1 changed files with 1 additions and 1 deletions
|
@ -1074,7 +1074,7 @@ static int __init vim2m_init(void)
|
|||
if (ret)
|
||||
platform_device_unregister(&vim2m_pdev);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
module_init(vim2m_init);
|
||||
|
|
Loading…
Reference in a new issue