]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: usb: go7007: s2250-board: add missed i2c_unregister_device
authorChuhong Yuan <hslester96@gmail.com>
Mon, 18 Nov 2019 11:40:41 +0000 (12:40 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 13 Dec 2019 08:19:29 +0000 (09:19 +0100)
commit8c956f3be17eaed62edb055a0fbce15e3080d953
treea0a5920a0ee525c5e2842bd3c8cc29d20a58f665
parentdc4cac67e13515835ed8081d510aa507aacb013b
media: usb: go7007: s2250-board: add missed i2c_unregister_device

The driver forgets to call i2c_unregister_device in remove like what is
done in probe failure.
Add the missed call to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/go7007/s2250-board.c