mirror of
https://github.com/torvalds/linux.git
synced 2025-04-12 16:47:42 +00:00
media: Drop explicit initialization of struct i2c_device_id::driver_data to 0
These drivers don't use the driver_data member of struct i2c_device_id, so don't explicitly initialize this member. This prepares putting driver_data in an anonymous union which requires either no initialization or named designators. But it's also a nice cleanup on its own. While add it, also remove commas after the sentinel entries. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
343cb1ec7b
commit
cc4cbd4b4f
@ -256,7 +256,7 @@ static void a8293_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id a8293_id_table[] = {
|
||||
{"a8293", 0},
|
||||
{ "a8293" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, a8293_id_table);
|
||||
|
@ -1553,7 +1553,7 @@ static void af9013_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id af9013_id_table[] = {
|
||||
{"af9013", 0},
|
||||
{ "af9013" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, af9013_id_table);
|
||||
|
@ -1173,7 +1173,7 @@ static void af9033_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id af9033_id_table[] = {
|
||||
{"af9033", 0},
|
||||
{ "af9033" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, af9033_id_table);
|
||||
|
@ -767,7 +767,7 @@ static void au8522_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id au8522_id[] = {
|
||||
{"au8522", 0},
|
||||
{ "au8522" },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -672,7 +672,7 @@ static void cxd2099_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id cxd2099_id[] = {
|
||||
{"cxd2099", 0},
|
||||
{ "cxd2099" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cxd2099_id);
|
||||
|
@ -723,7 +723,7 @@ static void cxd2820r_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id cxd2820r_id_table[] = {
|
||||
{"cxd2820r", 0},
|
||||
{ "cxd2820r" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cxd2820r_id_table);
|
||||
|
@ -2244,7 +2244,7 @@ static void lgdt3306a_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id lgdt3306a_id_table[] = {
|
||||
{"lgdt3306a", 0},
|
||||
{ "lgdt3306a" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lgdt3306a_id_table);
|
||||
|
@ -983,7 +983,7 @@ static void lgdt330x_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id lgdt330x_id_table[] = {
|
||||
{"lgdt330x", 0},
|
||||
{ "lgdt330x" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lgdt330x_id_table);
|
||||
|
@ -708,7 +708,7 @@ static void mn88472_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id mn88472_id_table[] = {
|
||||
{"mn88472", 0},
|
||||
{ "mn88472" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mn88472_id_table);
|
||||
|
@ -743,7 +743,7 @@ static void mn88473_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id mn88473_id_table[] = {
|
||||
{"mn88473", 0},
|
||||
{ "mn88473" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mn88473_id_table);
|
||||
|
@ -1346,7 +1346,7 @@ static void mxl692_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id mxl692_id_table[] = {
|
||||
{"mxl692", 0},
|
||||
{ "mxl692" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mxl692_id_table);
|
||||
|
@ -876,7 +876,7 @@ static void rtl2830_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id rtl2830_id_table[] = {
|
||||
{"rtl2830", 0},
|
||||
{ "rtl2830" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, rtl2830_id_table);
|
||||
|
@ -1125,7 +1125,7 @@ static void rtl2832_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id rtl2832_id_table[] = {
|
||||
{"rtl2832", 0},
|
||||
{ "rtl2832" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, rtl2832_id_table);
|
||||
|
@ -1281,7 +1281,7 @@ static void si2165_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id si2165_id_table[] = {
|
||||
{"si2165", 0},
|
||||
{ "si2165" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, si2165_id_table);
|
||||
|
@ -788,7 +788,7 @@ static void si2168_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id si2168_id_table[] = {
|
||||
{"si2168", 0},
|
||||
{ "si2168" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, si2168_id_table);
|
||||
|
@ -407,7 +407,7 @@ static void sp2_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id sp2_id[] = {
|
||||
{"sp2", 0},
|
||||
{ "sp2" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, sp2_id);
|
||||
|
@ -5079,7 +5079,7 @@ error:
|
||||
EXPORT_SYMBOL_GPL(stv090x_attach);
|
||||
|
||||
static const struct i2c_device_id stv090x_id_table[] = {
|
||||
{"stv090x", 0},
|
||||
{ "stv090x" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, stv090x_id_table);
|
||||
|
@ -470,7 +470,7 @@ const struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe,
|
||||
EXPORT_SYMBOL_GPL(stv6110x_attach);
|
||||
|
||||
static const struct i2c_device_id stv6110x_id_table[] = {
|
||||
{"stv6110x", 0},
|
||||
{ "stv6110x" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, stv6110x_id_table);
|
||||
|
@ -1230,7 +1230,7 @@ static void tda10071_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tda10071_id_table[] = {
|
||||
{"tda10071_cx24118", 0},
|
||||
{ "tda10071_cx24118" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tda10071_id_table);
|
||||
|
@ -710,8 +710,8 @@ static void ts2020_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ts2020_id_table[] = {
|
||||
{"ts2020", 0},
|
||||
{"ts2022", 0},
|
||||
{ "ts2020" },
|
||||
{ "ts2022" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ts2020_id_table);
|
||||
|
@ -347,8 +347,8 @@ static void ad5820_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ad5820_id_table[] = {
|
||||
{ "ad5820", 0 },
|
||||
{ "ad5821", 0 },
|
||||
{ "ad5820" },
|
||||
{ "ad5821" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ad5820_id_table);
|
||||
|
@ -522,7 +522,7 @@ static void adp1653_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id adp1653_id_table[] = {
|
||||
{ ADP1653_NAME, 0 },
|
||||
{ ADP1653_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adp1653_id_table);
|
||||
|
@ -377,8 +377,8 @@ static void adv7170_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id adv7170_id[] = {
|
||||
{ "adv7170", 0 },
|
||||
{ "adv7171", 0 },
|
||||
{ "adv7170" },
|
||||
{ "adv7171" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7170_id);
|
||||
|
@ -432,8 +432,8 @@ static void adv7175_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id adv7175_id[] = {
|
||||
{ "adv7175", 0 },
|
||||
{ "adv7176", 0 },
|
||||
{ "adv7175" },
|
||||
{ "adv7176" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7175_id);
|
||||
|
@ -619,8 +619,8 @@ static void adv7183_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id adv7183_id[] = {
|
||||
{"adv7183", 0},
|
||||
{},
|
||||
{ "adv7183" },
|
||||
{}
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, adv7183_id);
|
||||
|
@ -502,8 +502,8 @@ static void adv7343_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id adv7343_id[] = {
|
||||
{"adv7343", 0},
|
||||
{},
|
||||
{ "adv7343" },
|
||||
{}
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, adv7343_id);
|
||||
|
@ -446,8 +446,8 @@ static void adv7393_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id adv7393_id[] = {
|
||||
{"adv7393", 0},
|
||||
{},
|
||||
{ "adv7393" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7393_id);
|
||||
|
||||
|
@ -1949,7 +1949,7 @@ static void adv7511_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id adv7511_id[] = {
|
||||
{ "adv7511-v4l2", 0 },
|
||||
{ "adv7511-v4l2" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7511_id);
|
||||
|
@ -3617,7 +3617,7 @@ static void adv7842_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id adv7842_id[] = {
|
||||
{ "adv7842", 0 },
|
||||
{ "adv7842" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7842_id);
|
||||
|
@ -304,8 +304,8 @@ static void ak881x_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ak881x_id[] = {
|
||||
{ "ak8813", 0 },
|
||||
{ "ak8814", 0 },
|
||||
{ "ak8813" },
|
||||
{ "ak8814" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ak881x_id);
|
||||
|
@ -457,9 +457,9 @@ static void bt819_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id bt819_id[] = {
|
||||
{ "bt819a", 0 },
|
||||
{ "bt817a", 0 },
|
||||
{ "bt815a", 0 },
|
||||
{ "bt819a" },
|
||||
{ "bt817a" },
|
||||
{ "bt815a" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, bt819_id);
|
||||
|
@ -230,7 +230,7 @@ static void bt856_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id bt856_id[] = {
|
||||
{ "bt856", 0 },
|
||||
{ "bt856" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, bt856_id);
|
||||
|
@ -197,7 +197,7 @@ static void bt866_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id bt866_id[] = {
|
||||
{ "bt866", 0 },
|
||||
{ "bt866" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, bt866_id);
|
||||
|
@ -109,7 +109,7 @@ static void cs3308_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id cs3308_id[] = {
|
||||
{ "cs3308", 0 },
|
||||
{ "cs3308" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cs3308_id);
|
||||
|
@ -189,7 +189,7 @@ static void cs5345_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id cs5345_id[] = {
|
||||
{ "cs5345", 0 },
|
||||
{ "cs5345" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cs5345_id);
|
||||
|
@ -200,7 +200,7 @@ static void cs53l32a_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id cs53l32a_id[] = {
|
||||
{ "cs53l32a", 0 },
|
||||
{ "cs53l32a" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cs53l32a_id);
|
||||
|
@ -3964,7 +3964,7 @@ static void cx25840_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id cx25840_id[] = {
|
||||
{ "cx25840", 0 },
|
||||
{ "cx25840" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cx25840_id);
|
||||
|
@ -877,7 +877,10 @@ static void ub913_remove(struct i2c_client *client)
|
||||
ub913_gpiochip_remove(priv);
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ub913_id[] = { { "ds90ub913a-q1", 0 }, {} };
|
||||
static const struct i2c_device_id ub913_id[] = {
|
||||
{ "ds90ub913a-q1" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ub913_id);
|
||||
|
||||
static const struct of_device_id ub913_dt_ids[] = {
|
||||
|
@ -279,8 +279,8 @@ static int __maybe_unused dw9714_vcm_resume(struct device *dev)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id dw9714_id_table[] = {
|
||||
{ DW9714_NAME, 0 },
|
||||
{ { 0 } }
|
||||
{ DW9714_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, dw9714_id_table);
|
||||
|
||||
|
@ -1501,7 +1501,7 @@ static const struct of_device_id et8ek8_of_table[] = {
|
||||
MODULE_DEVICE_TABLE(of, et8ek8_of_table);
|
||||
|
||||
static const struct i2c_device_id et8ek8_id_table[] = {
|
||||
{ ET8EK8_NAME, 0 },
|
||||
{ ET8EK8_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, et8ek8_id_table);
|
||||
|
@ -1949,7 +1949,7 @@ static const struct of_device_id imx274_of_id_table[] = {
|
||||
MODULE_DEVICE_TABLE(of, imx274_of_id_table);
|
||||
|
||||
static const struct i2c_device_id imx274_id[] = {
|
||||
{ "IMX274", 0 },
|
||||
{ "IMX274" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, imx274_id);
|
||||
|
@ -1561,8 +1561,8 @@ static const struct of_device_id isl7998x_of_match[] = {
|
||||
MODULE_DEVICE_TABLE(of, isl7998x_of_match);
|
||||
|
||||
static const struct i2c_device_id isl7998x_id[] = {
|
||||
{ "isl79987", 0 },
|
||||
{ /* sentinel */ },
|
||||
{ "isl79987" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, isl7998x_id);
|
||||
|
||||
|
@ -677,9 +677,9 @@ static void ks0127_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ks0127_id[] = {
|
||||
{ "ks0127", 0 },
|
||||
{ "ks0127b", 0 },
|
||||
{ "ks0122s", 0 },
|
||||
{ "ks0127" },
|
||||
{ "ks0127b" },
|
||||
{ "ks0122s" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ks0127_id);
|
||||
|
@ -455,8 +455,8 @@ static void lm3560_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id lm3560_id_table[] = {
|
||||
{LM3559_NAME, 0},
|
||||
{LM3560_NAME, 0},
|
||||
{ LM3559_NAME },
|
||||
{ LM3560_NAME },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -386,7 +386,7 @@ static void lm3646_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id lm3646_id_table[] = {
|
||||
{LM3646_NAME, 0},
|
||||
{ LM3646_NAME },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -163,7 +163,7 @@ static void m52790_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id m52790_id[] = {
|
||||
{ "m52790", 0 },
|
||||
{ "m52790" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, m52790_id);
|
||||
|
@ -1413,8 +1413,8 @@ static void max2175_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id max2175_id[] = {
|
||||
{ DRIVER_NAME, 0},
|
||||
{},
|
||||
{ DRIVER_NAME },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, max2175_id);
|
||||
|
||||
|
@ -424,8 +424,8 @@ static void ml86v7667_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ml86v7667_id[] = {
|
||||
{DRV_NAME, 0},
|
||||
{},
|
||||
{ DRV_NAME },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ml86v7667_id);
|
||||
|
||||
|
@ -874,7 +874,7 @@ static const struct dev_pm_ops msp3400_pm_ops = {
|
||||
};
|
||||
|
||||
static const struct i2c_device_id msp_id[] = {
|
||||
{ "msp3400", 0 },
|
||||
{ "msp3400" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, msp_id);
|
||||
|
@ -854,7 +854,7 @@ static void mt9m001_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id mt9m001_id[] = {
|
||||
{ "mt9m001", 0 },
|
||||
{ "mt9m001" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mt9m001_id);
|
||||
|
@ -1383,7 +1383,7 @@ static const struct of_device_id mt9m111_of_match[] = {
|
||||
MODULE_DEVICE_TABLE(of, mt9m111_of_match);
|
||||
|
||||
static const struct i2c_device_id mt9m111_id[] = {
|
||||
{ "mt9m111", 0 },
|
||||
{ "mt9m111" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mt9m111_id);
|
||||
|
@ -1109,7 +1109,7 @@ static void mt9t112_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id mt9t112_id[] = {
|
||||
{ "mt9t112", 0 },
|
||||
{ "mt9t112" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mt9t112_id);
|
||||
|
@ -582,7 +582,7 @@ static void mt9v011_remove(struct i2c_client *c)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id mt9v011_id[] = {
|
||||
{ "mt9v011", 0 },
|
||||
{ "mt9v011" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mt9v011_id);
|
||||
|
@ -1740,8 +1740,8 @@ static void ov13858_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov13858_id_table[] = {
|
||||
{"ov13858", 0},
|
||||
{},
|
||||
{ "ov13858" },
|
||||
{}
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, ov13858_id_table);
|
||||
|
@ -1271,7 +1271,7 @@ static void ov2640_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov2640_id[] = {
|
||||
{ "ov2640", 0 },
|
||||
{ "ov2640" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov2640_id);
|
||||
|
@ -1551,8 +1551,8 @@ static const struct dev_pm_ops ov2659_pm_ops = {
|
||||
};
|
||||
|
||||
static const struct i2c_device_id ov2659_id[] = {
|
||||
{ "ov2659", 0 },
|
||||
{ /* sentinel */ },
|
||||
{ "ov2659" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov2659_id);
|
||||
|
||||
|
@ -4003,8 +4003,8 @@ static const struct dev_pm_ops ov5640_pm_ops = {
|
||||
};
|
||||
|
||||
static const struct i2c_device_id ov5640_id[] = {
|
||||
{"ov5640", 0},
|
||||
{},
|
||||
{ "ov5640" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov5640_id);
|
||||
|
||||
|
@ -1272,7 +1272,7 @@ static void ov5645_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov5645_id[] = {
|
||||
{ "ov5645", 0 },
|
||||
{ "ov5645" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov5645_id);
|
||||
|
@ -1487,7 +1487,7 @@ static const struct dev_pm_ops ov5647_pm_ops = {
|
||||
};
|
||||
|
||||
static const struct i2c_device_id ov5647_id[] = {
|
||||
{ "ov5647", 0 },
|
||||
{ "ov5647" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov5647_id);
|
||||
|
@ -1128,7 +1128,7 @@ static void ov6650_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov6650_id[] = {
|
||||
{ "ov6650", 0 },
|
||||
{ "ov6650" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov6650_id);
|
||||
|
@ -77,7 +77,7 @@ static void ov7640_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov7640_id[] = {
|
||||
{ "ov7640", 0 },
|
||||
{ "ov7640" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov7640_id);
|
||||
|
@ -1546,7 +1546,7 @@ static void ov772x_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov772x_id[] = {
|
||||
{ "ov772x", 0 },
|
||||
{ "ov772x" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov772x_id);
|
||||
|
@ -1152,7 +1152,7 @@ static int __maybe_unused ov7740_runtime_resume(struct device *dev)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov7740_id[] = {
|
||||
{ "ov7740", 0 },
|
||||
{ "ov7740" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov7740_id);
|
||||
|
@ -751,7 +751,7 @@ static void ov9640_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov9640_id[] = {
|
||||
{ "ov9640", 0 },
|
||||
{ "ov9640" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov9640_id);
|
||||
|
@ -1566,8 +1566,8 @@ static void ov965x_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ov965x_id[] = {
|
||||
{ "OV9650", 0 },
|
||||
{ "OV9652", 0 },
|
||||
{ "OV9650" },
|
||||
{ "OV9652" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov965x_id);
|
||||
|
@ -1410,7 +1410,7 @@ static void rj54n1_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id rj54n1_id[] = {
|
||||
{ "rj54n1cb0c", 0 },
|
||||
{ "rj54n1cb0c" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, rj54n1_id);
|
||||
|
@ -1724,7 +1724,7 @@ static void s5c73m3_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id s5c73m3_id[] = {
|
||||
{ DRIVER_NAME, 0 },
|
||||
{ DRIVER_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, s5c73m3_id);
|
||||
|
@ -2018,8 +2018,8 @@ static void s5k5baf_remove(struct i2c_client *c)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id s5k5baf_id[] = {
|
||||
{ S5K5BAF_DRIVER_NAME, 0 },
|
||||
{ },
|
||||
{ S5K5BAF_DRIVER_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, s5k5baf_id);
|
||||
|
||||
|
@ -496,7 +496,7 @@ static void saa6588_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id saa6588_id[] = {
|
||||
{ "saa6588", 0 },
|
||||
{ "saa6588" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa6588_id);
|
||||
|
@ -770,7 +770,7 @@ static void saa6752hs_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id saa6752hs_id[] = {
|
||||
{ "saa6752hs", 0 },
|
||||
{ "saa6752hs" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa6752hs_id);
|
||||
|
@ -439,7 +439,7 @@ static void saa7110_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id saa7110_id[] = {
|
||||
{ "saa7110", 0 },
|
||||
{ "saa7110" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa7110_id);
|
||||
|
@ -1334,7 +1334,7 @@ static void saa717x_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id saa717x_id[] = {
|
||||
{ "saa717x", 0 },
|
||||
{ "saa717x" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa717x_id);
|
||||
|
@ -334,7 +334,7 @@ static void saa7185_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id saa7185_id[] = {
|
||||
{ "saa7185", 0 },
|
||||
{ "saa7185" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa7185_id);
|
||||
|
@ -366,7 +366,7 @@ static void sony_btf_mpx_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id sony_btf_mpx_id[] = {
|
||||
{ "sony-btf-mpx", 0 },
|
||||
{ "sony-btf-mpx" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, sony_btf_mpx_id);
|
||||
|
@ -2197,7 +2197,7 @@ static void tc358743_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tc358743_id[] = {
|
||||
{"tc358743", 0},
|
||||
{ "tc358743" },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -400,7 +400,7 @@ static void tda7432_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tda7432_id[] = {
|
||||
{ "tda7432", 0 },
|
||||
{ "tda7432" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tda7432_id);
|
||||
|
@ -182,7 +182,7 @@ static void tda9840_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tda9840_id[] = {
|
||||
{ "tda9840", 0 },
|
||||
{ "tda9840" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tda9840_id);
|
||||
|
@ -141,7 +141,7 @@ static void tea6415c_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tea6415c_id[] = {
|
||||
{ "tea6415c", 0 },
|
||||
{ "tea6415c" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tea6415c_id);
|
||||
|
@ -123,7 +123,7 @@ static void tea6420_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tea6420_id[] = {
|
||||
{ "tea6420", 0 },
|
||||
{ "tea6420" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tea6420_id);
|
||||
|
@ -369,9 +369,9 @@ static void ths7303_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ths7303_id[] = {
|
||||
{"ths7303", 0},
|
||||
{"ths7353", 0},
|
||||
{},
|
||||
{ "ths7303" },
|
||||
{ "ths7353" },
|
||||
{}
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, ths7303_id);
|
||||
|
@ -487,8 +487,8 @@ static void ths8200_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id ths8200_id[] = {
|
||||
{ "ths8200", 0 },
|
||||
{},
|
||||
{ "ths8200" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ths8200_id);
|
||||
|
||||
|
@ -188,7 +188,7 @@ static void tlv320aic23b_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id tlv320aic23b_id[] = {
|
||||
{ "tlv320aic23b", 0 },
|
||||
{ "tlv320aic23b" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id);
|
||||
|
@ -2086,7 +2086,7 @@ static void tvaudio_remove(struct i2c_client *client)
|
||||
detect which device is present. So rather than listing all supported
|
||||
devices here, we pretend to support a single, fake device type. */
|
||||
static const struct i2c_device_id tvaudio_id[] = {
|
||||
{ "tvaudio", 0 },
|
||||
{ "tvaudio" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tvaudio_id);
|
||||
|
@ -2265,7 +2265,7 @@ static const struct dev_pm_ops tvp5150_pm_ops = {
|
||||
};
|
||||
|
||||
static const struct i2c_device_id tvp5150_id[] = {
|
||||
{ "tvp5150", 0 },
|
||||
{ "tvp5150" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tvp5150_id);
|
||||
|
@ -1070,7 +1070,7 @@ static void tvp7002_remove(struct i2c_client *c)
|
||||
|
||||
/* I2C Device ID table */
|
||||
static const struct i2c_device_id tvp7002_id[] = {
|
||||
{ "tvp7002", 0 },
|
||||
{ "tvp7002" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tvp7002_id);
|
||||
|
@ -414,7 +414,7 @@ static void tw2804_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tw2804_id[] = {
|
||||
{ "tw2804", 0 },
|
||||
{ "tw2804" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tw2804_id);
|
||||
|
@ -753,7 +753,7 @@ static const struct dev_pm_ops tw9900_pm_ops = {
|
||||
};
|
||||
|
||||
static const struct i2c_device_id tw9900_id[] = {
|
||||
{ "tw9900", 0 },
|
||||
{ "tw9900" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tw9900_id);
|
||||
|
@ -245,7 +245,7 @@ static void tw9903_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id tw9903_id[] = {
|
||||
{ "tw9903", 0 },
|
||||
{ "tw9903" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tw9903_id);
|
||||
|
@ -213,7 +213,7 @@ static void tw9906_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id tw9906_id[] = {
|
||||
{ "tw9906", 0 },
|
||||
{ "tw9906" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tw9906_id);
|
||||
|
@ -996,7 +996,7 @@ static void tw9910_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id tw9910_id[] = {
|
||||
{ "tw9910", 0 },
|
||||
{ "tw9910" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tw9910_id);
|
||||
|
@ -79,7 +79,7 @@ static void uda1342_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id uda1342_id[] = {
|
||||
{ "uda1342", 0 },
|
||||
{ "uda1342" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, uda1342_id);
|
||||
|
@ -219,7 +219,7 @@ static void upd64031a_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id upd64031a_id[] = {
|
||||
{ "upd64031a", 0 },
|
||||
{ "upd64031a" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, upd64031a_id);
|
||||
|
@ -190,7 +190,7 @@ static void upd64083_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id upd64083_id[] = {
|
||||
{ "upd64083", 0 },
|
||||
{ "upd64083" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, upd64083_id);
|
||||
|
@ -172,7 +172,7 @@ static void vp27smpx_remove(struct i2c_client *client)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id vp27smpx_id[] = {
|
||||
{ "vp27smpx", 0 },
|
||||
{ "vp27smpx" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, vp27smpx_id);
|
||||
|
@ -535,9 +535,9 @@ static void vpx3220_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id vpx3220_id[] = {
|
||||
{ "vpx3220a", 0 },
|
||||
{ "vpx3216b", 0 },
|
||||
{ "vpx3214c", 0 },
|
||||
{ "vpx3220a" },
|
||||
{ "vpx3216b" },
|
||||
{ "vpx3214c" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, vpx3220_id);
|
||||
|
@ -243,7 +243,7 @@ static void wm8739_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id wm8739_id[] = {
|
||||
{ "wm8739", 0 },
|
||||
{ "wm8739" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, wm8739_id);
|
||||
|
@ -289,7 +289,7 @@ static void wm8775_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id wm8775_id[] = {
|
||||
{ "wm8775", 0 },
|
||||
{ "wm8775" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, wm8775_id);
|
||||
|
@ -502,7 +502,7 @@ static void tea5764_i2c_remove(struct i2c_client *client)
|
||||
|
||||
/* I2C subsystem interface */
|
||||
static const struct i2c_device_id tea5764_id[] = {
|
||||
{ "radio-tea5764", 0 },
|
||||
{ "radio-tea5764" },
|
||||
{ } /* Terminating entry */
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tea5764_id);
|
||||
|
@ -395,8 +395,8 @@ static void saa7706h_remove(struct i2c_client *client)
|
||||
}
|
||||
|
||||
static const struct i2c_device_id saa7706h_id[] = {
|
||||
{DRIVER_NAME, 0},
|
||||
{},
|
||||
{ DRIVER_NAME },
|
||||
{}
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, saa7706h_id);
|
||||
|
@ -28,7 +28,7 @@
|
||||
/* I2C Device ID List */
|
||||
static const struct i2c_device_id si470x_i2c_id[] = {
|
||||
/* Generic Entry */
|
||||
{ "si470x", 0 },
|
||||
{ "si470x" },
|
||||
/* Terminating entry */
|
||||
{ }
|
||||
};
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user