Lines Matching refs:client_demod
532 struct i2c_client *client_demod; in saa7164_dvb_register() local
638 client_demod = i2c_new_client_device(&dev->i2c_bus[2].i2c_adap, &info); in saa7164_dvb_register()
639 if (!i2c_client_has_driver(client_demod)) in saa7164_dvb_register()
642 if (!try_module_get(client_demod->dev.driver->owner)) { in saa7164_dvb_register()
643 i2c_unregister_device(client_demod); in saa7164_dvb_register()
646 port->i2c_client_demod = client_demod; in saa7164_dvb_register()
659 module_put(client_demod->dev.driver->owner); in saa7164_dvb_register()
660 i2c_unregister_device(client_demod); in saa7164_dvb_register()
665 module_put(client_demod->dev.driver->owner); in saa7164_dvb_register()
666 i2c_unregister_device(client_demod); in saa7164_dvb_register()
681 client_demod = i2c_new_client_device(&dev->i2c_bus[2].i2c_adap, &info); in saa7164_dvb_register()
682 if (!i2c_client_has_driver(client_demod)) in saa7164_dvb_register()
685 if (!try_module_get(client_demod->dev.driver->owner)) { in saa7164_dvb_register()
686 i2c_unregister_device(client_demod); in saa7164_dvb_register()
689 port->i2c_client_demod = client_demod; in saa7164_dvb_register()
702 module_put(client_demod->dev.driver->owner); in saa7164_dvb_register()
703 i2c_unregister_device(client_demod); in saa7164_dvb_register()
708 module_put(client_demod->dev.driver->owner); in saa7164_dvb_register()
709 i2c_unregister_device(client_demod); in saa7164_dvb_register()