media: rockchip/vpu: Fix/re-order probe-error/remove path
media_device_cleanup() and v4l2_m2m_unregister_media_controller() were
missing in the probe error path.
While at it, re-order calls in the remove path to unregister/cleanup
things in the reverse order they were initialized/registered.
Signed-off-by: Jonas Karlman <firstname.lastname@example.org>
Signed-off-by: Boris Brezillon <email@example.com>
Signed-off-by: Hans Verkuil <firstname.lastname@example.org>
Signed-off-by: Mauro Carvalho Chehab <email@example.com>
1 file changed