]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3bc7f19ce1f55a977e1651afb73af51f3c172213
tree0722020d579b2717801d13201f48c6d7033d3fa7
parent7d55b831a09fddd2aa899acc36e0602667a176af
[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