upstream: [media] media: bt8xx: add missing put_device call
authorLevente Kurusa <levex@linux.com>
Thu, 19 Dec 2013 15:06:49 +0000 (12:06 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:58:54 +0000 (11:58 +0900)
commitc94f438a6222d70a63c3525aa2d6b4ef45ea5646
tree048a3f399cc0d1dafa38215e410fe3c8fef214d1
parenta75bdd7acbc1669a72450360e6c6a44b864a07fe
upstream: [media] media: bt8xx: add missing put_device call

This is required so that we give up the last reference to the device.
Remove the kfree() because the put_device() call will actually call
release_sub_device which in turn kfrees the device.

Signed-off-by: Levente Kurusa <levex@linux.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/bt8xx/bttv-gpio.c