[media] cx23885: do not unregister demod I2C client twice on error
authorAntti Palosaari <crope@iki.fi>
Wed, 10 Dec 2014 13:59:13 +0000 (10:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 30 Dec 2014 12:44:24 +0000 (10:44 -0200)
commit3b952436d4cca59bfdc8ede174dd746a4b31c804
treeaf9772c01707be16d3f1f31eb6cb6d2b69fe4bb8
parent99f3cd52aee21091ce62442285a68873e3be833f
[media] cx23885: do not unregister demod I2C client twice on error

Demod I2C client should be NULL after demod is unregistered on error
path, otherwise it will be unregistered again when driver is unload.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx23885/cx23885-dvb.c