return 0;
}
+static void microtune_release(struct i2c_client *c)
+{
+ struct tuner *t = i2c_get_clientdata(c);
+
+ kfree(t->priv);
+ t->priv = NULL;
+}
+
int microtune_init(struct i2c_client *c)
{
struct microtune_priv *priv = NULL;
t->set_tv_freq = NULL;
t->set_radio_freq = NULL;
t->standby = NULL;
+ t->release = microtune_release;
if (t->std & V4L2_STD_525_60) {
tuner_dbg("pinnacle ntsc\n");
priv->radio_if2 = 41300 * 1000;
/*---------------------------------------------------------------------*/
+static void tda8290_release(struct i2c_client *c)
+{
+ struct tuner *t = i2c_get_clientdata(c);
+
+ kfree(t->priv);
+ t->priv = NULL;
+}
+
int tda8290_init(struct i2c_client *c)
{
struct tda8290_priv *priv = NULL;
t->set_radio_freq = set_radio_freq;
t->has_signal = has_signal;
t->standby = standby;
+ t->release = tda8290_release;
priv->tda827x_lpsel = 0;
t->mode = V4L2_TUNER_ANALOG_TV;
tda9887_configure(client);
}
+static void tda9887_release(struct i2c_client *c)
+{
+ struct tuner *t = i2c_get_clientdata(c);
+
+ kfree(t->priv);
+ t->priv = NULL;
+}
+
int tda9887_tuner_init(struct i2c_client *c)
{
struct tda9887_priv *priv = NULL;
t->standby = tda9887_standby;
t->tuner_status = tda9887_tuner_status;
t->get_afc = tda9887_get_afc;
+ t->release = tda9887_release;
return 0;
}