[media] lirc_bt829: Fix iomap and PCI device leaks
authorBen Hutchings <ben@decadent.org.uk>
Thu, 5 Sep 2013 01:31:59 +0000 (22:31 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 3 Oct 2013 17:05:20 +0000 (14:05 -0300)
commitfd39abee9e88276251f31f6c3cbefadb2d25486f
tree1d82eb9b8524a030c7cbd8e2315dc3c8fea9b25a
parentd06d3ea78350ffcf773073824a02c2abcb5a2da2
[media] lirc_bt829: Fix iomap and PCI device leaks

We must call iounmap() and pci_dev_put() when removed and on
the probe failure path.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/lirc/lirc_bt829.c