mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
f4217069cd
As the first thing this function does is to call v4l2_device_register(), it should call v4l2_device_unregister() if an error occurs, the same way as done at saa7146_vv_release(). Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>