[media] media: bt8xx: add missing put_device call
authorLevente Kurusa <levex@linux.com>
Thu, 19 Dec 2013 15:06:49 +0000 (12:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 08:27:38 +0000 (06:27 -0200)
commit38121b6ef314e556d3b59acc0c41a4d6f7e597fa
tree0722020d579b2717801d13201f48c6d7033d3fa7
parent656e62dc84a38fa847d9501636acb098a32d6f89
[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