mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
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>