[media] exynos4-is: Unregister fimc-is subdevs from the media device properly
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 18 Apr 2013 12:05:54 +0000 (09:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:35:56 +0000 (09:35 -0300)
commite41a35cb4be81a56664c52c94ddbdb740dca4f63
tree5428b43cdd917ff7f6859983c0c4cf9fab989a5a
parent1bc515ac6e60c6437422c98fb3be89b3b0802286
[media] exynos4-is: Unregister fimc-is subdevs from the media device properly

Add missing v4l2_device_unregister_subdev() call for the FIMC-IS subdevs
(currently there is only the FIMC-IS-ISP subdev) so corresponding resources
are properly freed upon the media device driver module removal.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyugmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/media-dev.c