mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
i2c: mux: Remove class argument from i2c_mux_add_adapter()
This commit is contained in:
@@ -810,10 +810,10 @@ struct dvb_frontend *gx1133_attach(const struct gx1133_config *cfg,
|
|||||||
goto err1;
|
goto err1;
|
||||||
}
|
}
|
||||||
priv->muxc->priv = priv;
|
priv->muxc->priv = priv;
|
||||||
ret = i2c_mux_add_adapter(priv->muxc, 0, 0, 0);
|
ret = i2c_mux_add_adapter(priv->muxc, 0, 0);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
ret = i2c_mux_add_adapter(priv->muxc, 0, 1, 0);
|
ret = i2c_mux_add_adapter(priv->muxc, 0, 1);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
priv->i2c_demod = priv->muxc->adapter[0];
|
priv->i2c_demod = priv->muxc->adapter[0];
|
||||||
|
@@ -516,7 +516,7 @@ static int gx1503_probe(struct i2c_client *client)
|
|||||||
goto err_regmap_exit;
|
goto err_regmap_exit;
|
||||||
}
|
}
|
||||||
dev->muxc->priv = client;
|
dev->muxc->priv = client;
|
||||||
ret = i2c_mux_add_adapter(dev->muxc,0,0,0);
|
ret = i2c_mux_add_adapter(dev->muxc,0,0);
|
||||||
if(ret)
|
if(ret)
|
||||||
goto err_regmap_exit;
|
goto err_regmap_exit;
|
||||||
|
|
||||||
|
@@ -1734,7 +1734,7 @@ static int si2183_probe(struct i2c_client *client)
|
|||||||
goto err_base_kfree;
|
goto err_base_kfree;
|
||||||
}
|
}
|
||||||
base->muxc->priv = client;
|
base->muxc->priv = client;
|
||||||
ret = i2c_mux_add_adapter(base->muxc, 0, 0, 0);
|
ret = i2c_mux_add_adapter(base->muxc, 0, 0);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err_base_kfree;
|
goto err_base_kfree;
|
||||||
base->tuner_adapter = base->muxc->adapter[0];
|
base->tuner_adapter = base->muxc->adapter[0];
|
||||||
|
@@ -624,10 +624,10 @@ struct dvb_frontend *tas2101_attach(const struct tas2101_config *cfg,
|
|||||||
goto err1;
|
goto err1;
|
||||||
}
|
}
|
||||||
priv->muxc->priv = priv;
|
priv->muxc->priv = priv;
|
||||||
ret = i2c_mux_add_adapter(priv->muxc, 0, 0, 0);
|
ret = i2c_mux_add_adapter(priv->muxc, 0, 0);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
ret = i2c_mux_add_adapter(priv->muxc, 0, 1, 0);
|
ret = i2c_mux_add_adapter(priv->muxc, 0, 1);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
priv->i2c_demod = priv->muxc->adapter[0];
|
priv->i2c_demod = priv->muxc->adapter[0];
|
||||||
|
@@ -294,10 +294,10 @@ struct dvb_frontend *tas2971_attach(const struct tas2101_config *cfg,
|
|||||||
goto err1;
|
goto err1;
|
||||||
}
|
}
|
||||||
base->muxc->priv = priv;
|
base->muxc->priv = priv;
|
||||||
ret = i2c_mux_add_adapter(base->muxc, 0, 0, 0);
|
ret = i2c_mux_add_adapter(base->muxc, 0, 0);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
ret = i2c_mux_add_adapter(base->muxc, 0, 1, 0);
|
ret = i2c_mux_add_adapter(base->muxc, 0, 1);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
base->i2c_demod = base->muxc->adapter[0];
|
base->i2c_demod = base->muxc->adapter[0];
|
||||||
|
Reference in New Issue
Block a user