mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 01:32:21 +02:00
media: Use named initializers for arrays of i2c_device_data
While being less compact, using named initializers allows to more easily see which members of the structs are assigned which value without having to lookup the declaration of the struct. And it's also more robust against changes to the struct definition. The mentioned robustness is relevant for a planned change to struct i2c_device_id that replaces .driver_data by an anonymous union. While touching all these arrays, unify usage of whitespace and commas. This patch doesn't modify the compiled arrays, only their representation in source form benefits. The former was confirmed with x86 and arm64 builds. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
5d579ece43
commit
2958d579ff
|
|
@ -486,7 +486,7 @@ static void tda9950_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static struct i2c_device_id tda9950_ids[] = {
|
||||
{ "tda9950" },
|
||||
{ .name = "tda9950" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tda9950_ids);
|
||||
|
|
|
|||
|
|
@ -256,8 +256,8 @@ static void a8293_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id a8293_id_table[] = {
|
||||
{ "a8293" },
|
||||
{}
|
||||
{ .name = "a8293" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, a8293_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -1553,8 +1553,8 @@ static void af9013_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id af9013_id_table[] = {
|
||||
{ "af9013" },
|
||||
{}
|
||||
{ .name = "af9013" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, af9013_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -1173,8 +1173,8 @@ static void af9033_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id af9033_id_table[] = {
|
||||
{ "af9033" },
|
||||
{}
|
||||
{ .name = "af9033" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, af9033_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -768,8 +768,8 @@ static void au8522_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id au8522_id[] = {
|
||||
{ "au8522" },
|
||||
{}
|
||||
{ .name = "au8522" },
|
||||
{ }
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, au8522_id);
|
||||
|
|
|
|||
|
|
@ -672,8 +672,8 @@ static void cxd2099_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id cxd2099_id[] = {
|
||||
{ "cxd2099" },
|
||||
{}
|
||||
{ .name = "cxd2099" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cxd2099_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -723,8 +723,8 @@ static void cxd2820r_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id cxd2820r_id_table[] = {
|
||||
{ "cxd2820r" },
|
||||
{}
|
||||
{ .name = "cxd2820r" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cxd2820r_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -911,28 +911,28 @@ static void dvb_pll_remove(struct i2c_client *client)
|
|||
|
||||
|
||||
static const struct i2c_device_id dvb_pll_id[] = {
|
||||
{"dtt7579", DVB_PLL_THOMSON_DTT7579},
|
||||
{"dtt759x", DVB_PLL_THOMSON_DTT759X},
|
||||
{"z201", DVB_PLL_LG_Z201},
|
||||
{"unknown_1", DVB_PLL_UNKNOWN_1},
|
||||
{"tua6010xs", DVB_PLL_TUA6010XS},
|
||||
{"env57h1xd5", DVB_PLL_ENV57H1XD5},
|
||||
{"tua6034", DVB_PLL_TUA6034},
|
||||
{"tda665x", DVB_PLL_TDA665X},
|
||||
{"tded4", DVB_PLL_TDED4},
|
||||
{"tdhu2", DVB_PLL_TDHU2},
|
||||
{"tbmv", DVB_PLL_SAMSUNG_TBMV},
|
||||
{"sd1878_tda8261", DVB_PLL_PHILIPS_SD1878_TDA8261},
|
||||
{"opera1", DVB_PLL_OPERA1},
|
||||
{"dtos403ih102a", DVB_PLL_SAMSUNG_DTOS403IH102A},
|
||||
{"tdtc9251dh0", DVB_PLL_SAMSUNG_TDTC9251DH0},
|
||||
{"tbdu18132", DVB_PLL_SAMSUNG_TBDU18132},
|
||||
{"tbmu24112", DVB_PLL_SAMSUNG_TBMU24112},
|
||||
{"tdee4", DVB_PLL_TDEE4},
|
||||
{"dtt7520x", DVB_PLL_THOMSON_DTT7520X},
|
||||
{"tua6034_friio", DVB_PLL_TUA6034_FRIIO},
|
||||
{"tda665x_earthpt1", DVB_PLL_TDA665X_EARTH_PT1},
|
||||
{}
|
||||
{ .name = "dtt7579", .driver_data = DVB_PLL_THOMSON_DTT7579 },
|
||||
{ .name = "dtt759x", .driver_data = DVB_PLL_THOMSON_DTT759X },
|
||||
{ .name = "z201", .driver_data = DVB_PLL_LG_Z201 },
|
||||
{ .name = "unknown_1", .driver_data = DVB_PLL_UNKNOWN_1 },
|
||||
{ .name = "tua6010xs", .driver_data = DVB_PLL_TUA6010XS },
|
||||
{ .name = "env57h1xd5", .driver_data = DVB_PLL_ENV57H1XD5 },
|
||||
{ .name = "tua6034", .driver_data = DVB_PLL_TUA6034 },
|
||||
{ .name = "tda665x", .driver_data = DVB_PLL_TDA665X },
|
||||
{ .name = "tded4", .driver_data = DVB_PLL_TDED4 },
|
||||
{ .name = "tdhu2", .driver_data = DVB_PLL_TDHU2 },
|
||||
{ .name = "tbmv", .driver_data = DVB_PLL_SAMSUNG_TBMV },
|
||||
{ .name = "sd1878_tda8261", .driver_data = DVB_PLL_PHILIPS_SD1878_TDA8261 },
|
||||
{ .name = "opera1", .driver_data = DVB_PLL_OPERA1 },
|
||||
{ .name = "dtos403ih102a", .driver_data = DVB_PLL_SAMSUNG_DTOS403IH102A },
|
||||
{ .name = "tdtc9251dh0", .driver_data = DVB_PLL_SAMSUNG_TDTC9251DH0 },
|
||||
{ .name = "tbdu18132", .driver_data = DVB_PLL_SAMSUNG_TBDU18132 },
|
||||
{ .name = "tbmu24112", .driver_data = DVB_PLL_SAMSUNG_TBMU24112 },
|
||||
{ .name = "tdee4", .driver_data = DVB_PLL_TDEE4 },
|
||||
{ .name = "dtt7520x", .driver_data = DVB_PLL_THOMSON_DTT7520X },
|
||||
{ .name = "tua6034_friio", .driver_data = DVB_PLL_TUA6034_FRIIO },
|
||||
{ .name = "tda665x_earthpt1", .driver_data = DVB_PLL_TDA665X_EARTH_PT1 },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1101,8 +1101,8 @@ static int helene_probe(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id helene_id[] = {
|
||||
{ "helene", },
|
||||
{}
|
||||
{ .name = "helene" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, helene_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -2244,8 +2244,8 @@ static void lgdt3306a_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id lgdt3306a_id_table[] = {
|
||||
{ "lgdt3306a" },
|
||||
{}
|
||||
{ .name = "lgdt3306a" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lgdt3306a_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -983,8 +983,8 @@ static void lgdt330x_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id lgdt330x_id_table[] = {
|
||||
{ "lgdt330x" },
|
||||
{}
|
||||
{ .name = "lgdt330x" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lgdt330x_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -2221,11 +2221,11 @@ static void m88ds3103_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id m88ds3103_id_table[] = {
|
||||
{"m88ds3103", M88DS3103_CHIPTYPE_3103},
|
||||
{"m88rs6000", M88DS3103_CHIPTYPE_RS6000},
|
||||
{"m88ds3103b", M88DS3103_CHIPTYPE_3103B},
|
||||
{"m88ds3103c", M88DS3103_CHIPTYPE_3103C},
|
||||
{}
|
||||
{ .name = "m88ds3103", .driver_data = M88DS3103_CHIPTYPE_3103 },
|
||||
{ .name = "m88rs6000", .driver_data = M88DS3103_CHIPTYPE_RS6000 },
|
||||
{ .name = "m88ds3103b", .driver_data = M88DS3103_CHIPTYPE_3103B },
|
||||
{ .name = "m88ds3103c", .driver_data = M88DS3103_CHIPTYPE_3103C },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, m88ds3103_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -787,10 +787,10 @@ static const struct of_device_id mn88443x_of_match[] = {
|
|||
MODULE_DEVICE_TABLE(of, mn88443x_of_match);
|
||||
|
||||
static const struct i2c_device_id mn88443x_i2c_id[] = {
|
||||
{ "mn884433", (kernel_ulong_t)&mn88443x_spec_pri },
|
||||
{ "mn884434-0", (kernel_ulong_t)&mn88443x_spec_pri },
|
||||
{ "mn884434-1", (kernel_ulong_t)&mn88443x_spec_sec },
|
||||
{}
|
||||
{ .name = "mn884433", .driver_data = (kernel_ulong_t)&mn88443x_spec_pri },
|
||||
{ .name = "mn884434-0", .driver_data = (kernel_ulong_t)&mn88443x_spec_pri },
|
||||
{ .name = "mn884434-1", .driver_data = (kernel_ulong_t)&mn88443x_spec_sec },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mn88443x_i2c_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -708,8 +708,8 @@ static void mn88472_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id mn88472_id_table[] = {
|
||||
{ "mn88472" },
|
||||
{}
|
||||
{ .name = "mn88472" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mn88472_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -743,8 +743,8 @@ static void mn88473_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id mn88473_id_table[] = {
|
||||
{ "mn88473" },
|
||||
{}
|
||||
{ .name = "mn88473" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mn88473_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -1346,8 +1346,8 @@ static void mxl692_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id mxl692_id_table[] = {
|
||||
{ "mxl692" },
|
||||
{}
|
||||
{ .name = "mxl692" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mxl692_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -876,8 +876,8 @@ static void rtl2830_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id rtl2830_id_table[] = {
|
||||
{ "rtl2830" },
|
||||
{}
|
||||
{ .name = "rtl2830" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, rtl2830_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -1125,8 +1125,8 @@ static void rtl2832_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id rtl2832_id_table[] = {
|
||||
{ "rtl2832" },
|
||||
{}
|
||||
{ .name = "rtl2832" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, rtl2832_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -1281,8 +1281,8 @@ static void si2165_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id si2165_id_table[] = {
|
||||
{ "si2165" },
|
||||
{}
|
||||
{ .name = "si2165" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, si2165_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -790,8 +790,8 @@ static void si2168_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id si2168_id_table[] = {
|
||||
{ "si2168" },
|
||||
{}
|
||||
{ .name = "si2168" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, si2168_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -407,8 +407,8 @@ static void sp2_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id sp2_id[] = {
|
||||
{ "sp2" },
|
||||
{}
|
||||
{ .name = "sp2" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, sp2_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -5079,8 +5079,8 @@ struct dvb_frontend *stv090x_attach(struct stv090x_config *config,
|
|||
EXPORT_SYMBOL_GPL(stv090x_attach);
|
||||
|
||||
static const struct i2c_device_id stv090x_id_table[] = {
|
||||
{ "stv090x" },
|
||||
{}
|
||||
{ .name = "stv090x" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, stv090x_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -470,8 +470,8 @@ 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" },
|
||||
{}
|
||||
{ .name = "stv6110x" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, stv6110x_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -830,9 +830,9 @@ static void tc90522_remove(struct i2c_client *client)
|
|||
|
||||
|
||||
static const struct i2c_device_id tc90522_id[] = {
|
||||
{ TC90522_I2C_DEV_SAT, 0 },
|
||||
{ TC90522_I2C_DEV_TER, 1 },
|
||||
{}
|
||||
{ .name = TC90522_I2C_DEV_SAT, .driver_data = 0 },
|
||||
{ .name = TC90522_I2C_DEV_TER, .driver_data = 1 },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tc90522_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -1230,8 +1230,8 @@ static void tda10071_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id tda10071_id_table[] = {
|
||||
{ "tda10071_cx24118" },
|
||||
{}
|
||||
{ .name = "tda10071_cx24118" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tda10071_id_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -716,9 +716,9 @@ static void ts2020_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ts2020_id_table[] = {
|
||||
{ "ts2020" },
|
||||
{ "ts2022" },
|
||||
{}
|
||||
{ .name = "ts2020" },
|
||||
{ .name = "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" },
|
||||
{ "ad5821" },
|
||||
{ .name = "ad5820" },
|
||||
{ .name = "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 },
|
||||
{ .name = 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" },
|
||||
{ "adv7171" },
|
||||
{ .name = "adv7170" },
|
||||
{ .name = "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" },
|
||||
{ "adv7176" },
|
||||
{ .name = "adv7175" },
|
||||
{ .name = "adv7176" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7175_id);
|
||||
|
|
|
|||
|
|
@ -1626,18 +1626,18 @@ static SIMPLE_DEV_PM_OPS(adv7180_pm_ops, adv7180_suspend, adv7180_resume);
|
|||
#endif
|
||||
|
||||
static const struct i2c_device_id adv7180_id[] = {
|
||||
{ "adv7180", (kernel_ulong_t)&adv7180_info },
|
||||
{ "adv7180cp", (kernel_ulong_t)&adv7180_info },
|
||||
{ "adv7180st", (kernel_ulong_t)&adv7180_info },
|
||||
{ "adv7182", (kernel_ulong_t)&adv7182_info },
|
||||
{ "adv7280", (kernel_ulong_t)&adv7280_info },
|
||||
{ "adv7280-m", (kernel_ulong_t)&adv7280_m_info },
|
||||
{ "adv7281", (kernel_ulong_t)&adv7281_info },
|
||||
{ "adv7281-m", (kernel_ulong_t)&adv7281_m_info },
|
||||
{ "adv7281-ma", (kernel_ulong_t)&adv7281_ma_info },
|
||||
{ "adv7282", (kernel_ulong_t)&adv7282_info },
|
||||
{ "adv7282-m", (kernel_ulong_t)&adv7282_m_info },
|
||||
{}
|
||||
{ .name = "adv7180", .driver_data = (kernel_ulong_t)&adv7180_info },
|
||||
{ .name = "adv7180cp", .driver_data = (kernel_ulong_t)&adv7180_info },
|
||||
{ .name = "adv7180st", .driver_data = (kernel_ulong_t)&adv7180_info },
|
||||
{ .name = "adv7182", .driver_data = (kernel_ulong_t)&adv7182_info },
|
||||
{ .name = "adv7280", .driver_data = (kernel_ulong_t)&adv7280_info },
|
||||
{ .name = "adv7280-m", .driver_data = (kernel_ulong_t)&adv7280_m_info },
|
||||
{ .name = "adv7281", .driver_data = (kernel_ulong_t)&adv7281_info },
|
||||
{ .name = "adv7281-m", .driver_data = (kernel_ulong_t)&adv7281_m_info },
|
||||
{ .name = "adv7281-ma", .driver_data = (kernel_ulong_t)&adv7281_ma_info },
|
||||
{ .name = "adv7282", .driver_data = (kernel_ulong_t)&adv7282_info },
|
||||
{ .name = "adv7282-m", .driver_data = (kernel_ulong_t)&adv7282_m_info },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7180_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -619,8 +619,8 @@ static void adv7183_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id adv7183_id[] = {
|
||||
{ "adv7183" },
|
||||
{}
|
||||
{ .name = "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" },
|
||||
{}
|
||||
{ .name = "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" },
|
||||
{}
|
||||
{ .name = "adv7393" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7393_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -2008,7 +2008,7 @@ static void adv7511_remove(struct i2c_client *client)
|
|||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id adv7511_id[] = {
|
||||
{ "adv7511-v4l2" },
|
||||
{ .name = "adv7511-v4l2" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv7511_id);
|
||||
|
|
|
|||
|
|
@ -3236,10 +3236,10 @@ static const struct adv76xx_chip_info adv76xx_chip_info[] = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id adv76xx_i2c_id[] = {
|
||||
{ "adv7604", (kernel_ulong_t)&adv76xx_chip_info[ADV7604] },
|
||||
{ "adv7610", (kernel_ulong_t)&adv76xx_chip_info[ADV7611] },
|
||||
{ "adv7611", (kernel_ulong_t)&adv76xx_chip_info[ADV7611] },
|
||||
{ "adv7612", (kernel_ulong_t)&adv76xx_chip_info[ADV7612] },
|
||||
{ .name = "adv7604", .driver_data = (kernel_ulong_t)&adv76xx_chip_info[ADV7604] },
|
||||
{ .name = "adv7610", .driver_data = (kernel_ulong_t)&adv76xx_chip_info[ADV7611] },
|
||||
{ .name = "adv7611", .driver_data = (kernel_ulong_t)&adv76xx_chip_info[ADV7611] },
|
||||
{ .name = "adv7612", .driver_data = (kernel_ulong_t)&adv76xx_chip_info[ADV7612] },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adv76xx_i2c_id);
|
||||
|
|
|
|||
|
|
@ -3675,7 +3675,7 @@ static void adv7842_remove(struct i2c_client *client)
|
|||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id adv7842_id[] = {
|
||||
{ "adv7842" },
|
||||
{ .name = "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" },
|
||||
{ "ak8814" },
|
||||
{ .name = "ak8813" },
|
||||
{ .name = "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" },
|
||||
{ "bt817a" },
|
||||
{ "bt815a" },
|
||||
{ .name = "bt819a" },
|
||||
{ .name = "bt817a" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "cs53l32a" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cs53l32a_id);
|
||||
|
|
|
|||
|
|
@ -3989,7 +3989,7 @@ static void cx25840_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id cx25840_id[] = {
|
||||
{ "cx25840" },
|
||||
{ .name = "cx25840" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cx25840_id);
|
||||
|
|
|
|||
|
|
@ -872,8 +872,8 @@ static void ub913_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ub913_id[] = {
|
||||
{ "ds90ub913a-q1" },
|
||||
{}
|
||||
{ .name = "ds90ub913a-q1" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ub913_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -1347,9 +1347,9 @@ static const struct ub953_hw_data ds90ub971_hw = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id ub953_id[] = {
|
||||
{ "ds90ub953-q1", (kernel_ulong_t)&ds90ub953_hw },
|
||||
{ "ds90ub971-q1", (kernel_ulong_t)&ds90ub971_hw },
|
||||
{}
|
||||
{ .name = "ds90ub953-q1", .driver_data = (kernel_ulong_t)&ds90ub953_hw },
|
||||
{ .name = "ds90ub971-q1", .driver_data = (kernel_ulong_t)&ds90ub971_hw },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ub953_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -5266,10 +5266,10 @@ static const struct ub960_hw_data ds90ub9702_hw = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id ub960_id[] = {
|
||||
{ "ds90ub954-q1", (kernel_ulong_t)&ds90ub954_hw },
|
||||
{ "ds90ub960-q1", (kernel_ulong_t)&ds90ub960_hw },
|
||||
{ "ds90ub9702-q1", (kernel_ulong_t)&ds90ub9702_hw },
|
||||
{}
|
||||
{ .name = "ds90ub954-q1", .driver_data = (kernel_ulong_t)&ds90ub954_hw },
|
||||
{ .name = "ds90ub960-q1", .driver_data = (kernel_ulong_t)&ds90ub960_hw },
|
||||
{ .name = "ds90ub9702-q1", .driver_data = (kernel_ulong_t)&ds90ub9702_hw },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ub960_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ static int __maybe_unused dw9714_vcm_resume(struct device *dev)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id dw9714_id_table[] = {
|
||||
{ DW9714_NAME },
|
||||
{ .name = DW9714_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, dw9714_id_table);
|
||||
|
|
|
|||
|
|
@ -1485,7 +1485,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 },
|
||||
{ .name = ET8EK8_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, et8ek8_id_table);
|
||||
|
|
|
|||
|
|
@ -1913,7 +1913,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" },
|
||||
{ .name = "IMX274" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, imx274_id);
|
||||
|
|
|
|||
|
|
@ -978,10 +978,10 @@ static void ir_remove(struct i2c_client *client)
|
|||
|
||||
static const struct i2c_device_id ir_kbd_id[] = {
|
||||
/* Generic entry for any IR receiver */
|
||||
{ "ir_video", 0 },
|
||||
{ .name = "ir_video", .driver_data = 0 },
|
||||
/* IR device specific entries should be added here */
|
||||
{ "ir_z8f0811_haup", FLAG_TX },
|
||||
{ "ir_z8f0811_hdpvr", FLAG_TX | FLAG_HDPVR },
|
||||
{ .name = "ir_z8f0811_haup", .driver_data = FLAG_TX },
|
||||
{ .name = "ir_z8f0811_hdpvr", .driver_data = FLAG_TX | FLAG_HDPVR },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ir_kbd_id);
|
||||
|
|
|
|||
|
|
@ -1561,7 +1561,7 @@ 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" },
|
||||
{ .name = "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" },
|
||||
{ "ks0127b" },
|
||||
{ "ks0122s" },
|
||||
{ .name = "ks0127" },
|
||||
{ .name = "ks0127b" },
|
||||
{ .name = "ks0122s" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ks0127_id);
|
||||
|
|
|
|||
|
|
@ -704,8 +704,8 @@ static const struct of_device_id lm3560_of_match[] = {
|
|||
MODULE_DEVICE_TABLE(of, lm3560_of_match);
|
||||
|
||||
static const struct i2c_device_id lm3560_id_table[] = {
|
||||
{ "lm3559", (kernel_ulong_t)&lm3559_config },
|
||||
{ "lm3560", (kernel_ulong_t)&lm3560_config },
|
||||
{ .name = "lm3559", .driver_data = (kernel_ulong_t)&lm3559_config },
|
||||
{ .name = "lm3560", .driver_data = (kernel_ulong_t)&lm3560_config },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lm3560_id_table);
|
||||
|
|
|
|||
|
|
@ -386,8 +386,8 @@ static void lm3646_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id lm3646_id_table[] = {
|
||||
{ LM3646_NAME },
|
||||
{}
|
||||
{ .name = LM3646_NAME },
|
||||
{ }
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, lm3646_id_table);
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ static void m52790_remove(struct i2c_client *client)
|
|||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id m52790_id[] = {
|
||||
{ "m52790" },
|
||||
{ .name = "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 },
|
||||
{}
|
||||
{ .name = 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 },
|
||||
{}
|
||||
{ .name = 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" },
|
||||
{ .name = "msp3400" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, msp_id);
|
||||
|
|
|
|||
|
|
@ -855,7 +855,7 @@ static void mt9m001_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id mt9m001_id[] = {
|
||||
{ "mt9m001" },
|
||||
{ .name = "mt9m001" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mt9m001_id);
|
||||
|
|
|
|||
|
|
@ -1384,7 +1384,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" },
|
||||
{ .name = "mt9m111" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mt9m111_id);
|
||||
|
|
|
|||
|
|
@ -1108,7 +1108,7 @@ static void mt9t112_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id mt9t112_id[] = {
|
||||
{ "mt9t112" },
|
||||
{ .name = "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" },
|
||||
{ .name = "mt9v011" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, mt9v011_id);
|
||||
|
|
|
|||
|
|
@ -1747,8 +1747,8 @@ static void ov13858_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ov13858_id_table[] = {
|
||||
{ "ov13858" },
|
||||
{}
|
||||
{ .name = "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" },
|
||||
{ .name = "ov2640" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov2640_id);
|
||||
|
|
|
|||
|
|
@ -1553,7 +1553,7 @@ static const struct dev_pm_ops ov2659_pm_ops = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id ov2659_id[] = {
|
||||
{ "ov2659" },
|
||||
{ .name = "ov2659" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov2659_id);
|
||||
|
|
|
|||
|
|
@ -3999,8 +3999,8 @@ static const struct dev_pm_ops ov5640_pm_ops = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id ov5640_id[] = {
|
||||
{ "ov5640" },
|
||||
{}
|
||||
{ .name = "ov5640" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov5640_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -1219,8 +1219,8 @@ static void ov5645_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ov5645_id[] = {
|
||||
{ "ov5645" },
|
||||
{}
|
||||
{ .name = "ov5645" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov5645_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -1278,7 +1278,7 @@ static const struct dev_pm_ops ov5647_pm_ops = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id ov5647_id[] = {
|
||||
{ "ov5647" },
|
||||
{ .name = "ov5647" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov5647_id);
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ static void ov7640_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ov7640_id[] = {
|
||||
{ "ov7640" },
|
||||
{ .name = "ov7640" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov7640_id);
|
||||
|
|
|
|||
|
|
@ -1997,8 +1997,8 @@ static const struct ov7670_devtype ov7675_devdata = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id ov7670_id[] = {
|
||||
{ "ov7670", (kernel_ulong_t)&ov7670_devdata },
|
||||
{ "ov7675", (kernel_ulong_t)&ov7675_devdata },
|
||||
{ .name = "ov7670", .driver_data = (kernel_ulong_t)&ov7670_devdata },
|
||||
{ .name = "ov7675", .driver_data = (kernel_ulong_t)&ov7675_devdata },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov7670_id);
|
||||
|
|
|
|||
|
|
@ -1546,7 +1546,7 @@ static void ov772x_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ov772x_id[] = {
|
||||
{ "ov772x" },
|
||||
{ .name = "ov772x" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov772x_id);
|
||||
|
|
|
|||
|
|
@ -1149,7 +1149,7 @@ static int __maybe_unused ov7740_runtime_resume(struct device *dev)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ov7740_id[] = {
|
||||
{ "ov7740" },
|
||||
{ .name = "ov7740" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov7740_id);
|
||||
|
|
|
|||
|
|
@ -752,7 +752,7 @@ static void ov9640_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ov9640_id[] = {
|
||||
{ "ov9640" },
|
||||
{ .name = "ov9640" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov9640_id);
|
||||
|
|
|
|||
|
|
@ -1567,8 +1567,8 @@ static void ov965x_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id ov965x_id[] = {
|
||||
{ "OV9650" },
|
||||
{ "OV9652" },
|
||||
{ .name = "OV9650" },
|
||||
{ .name = "OV9652" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ov965x_id);
|
||||
|
|
|
|||
|
|
@ -1413,7 +1413,7 @@ static void rj54n1_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id rj54n1_id[] = {
|
||||
{ "rj54n1cb0c" },
|
||||
{ .name = "rj54n1cb0c" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, rj54n1_id);
|
||||
|
|
|
|||
|
|
@ -1728,7 +1728,7 @@ static void s5c73m3_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id s5c73m3_id[] = {
|
||||
{ DRIVER_NAME },
|
||||
{ .name = DRIVER_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, s5c73m3_id);
|
||||
|
|
|
|||
|
|
@ -2007,7 +2007,7 @@ static void s5k5baf_remove(struct i2c_client *c)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id s5k5baf_id[] = {
|
||||
{ S5K5BAF_DRIVER_NAME },
|
||||
{ .name = S5K5BAF_DRIVER_NAME },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, s5k5baf_id);
|
||||
|
|
|
|||
|
|
@ -495,7 +495,7 @@ static void saa6588_remove(struct i2c_client *client)
|
|||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id saa6588_id[] = {
|
||||
{ "saa6588" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "saa7110" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa7110_id);
|
||||
|
|
|
|||
|
|
@ -1928,13 +1928,13 @@ static void saa711x_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id saa711x_id[] = {
|
||||
{ "saa7115_auto", 1 }, /* autodetect */
|
||||
{ "saa7111", 0 },
|
||||
{ "saa7113", 0 },
|
||||
{ "saa7114", 0 },
|
||||
{ "saa7115", 0 },
|
||||
{ "saa7118", 0 },
|
||||
{ "gm7113c", 0 },
|
||||
{ .name = "saa7115_auto", .driver_data = 1 }, /* autodetect */
|
||||
{ .name = "saa7111", .driver_data = 0 },
|
||||
{ .name = "saa7113", .driver_data = 0 },
|
||||
{ .name = "saa7114", .driver_data = 0 },
|
||||
{ .name = "saa7115", .driver_data = 0 },
|
||||
{ .name = "saa7118", .driver_data = 0 },
|
||||
{ .name = "gm7113c", .driver_data = 0 },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa711x_id);
|
||||
|
|
|
|||
|
|
@ -797,11 +797,11 @@ static void saa7127_remove(struct i2c_client *client)
|
|||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id saa7127_id[] = {
|
||||
{ "saa7127_auto", 0 }, /* auto-detection */
|
||||
{ "saa7126", SAA7127 },
|
||||
{ "saa7127", SAA7127 },
|
||||
{ "saa7128", SAA7129 },
|
||||
{ "saa7129", SAA7129 },
|
||||
{ .name = "saa7127_auto", .driver_data = 0 }, /* auto-detection */
|
||||
{ .name = "saa7126", .driver_data = SAA7127 },
|
||||
{ .name = "saa7127", .driver_data = SAA7127 },
|
||||
{ .name = "saa7128", .driver_data = SAA7129 },
|
||||
{ .name = "saa7129", .driver_data = SAA7129 },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, saa7127_id);
|
||||
|
|
|
|||
|
|
@ -1334,7 +1334,7 @@ static void saa717x_remove(struct i2c_client *client)
|
|||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static const struct i2c_device_id saa717x_id[] = {
|
||||
{ "saa717x" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "sony-btf-mpx" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, sony_btf_mpx_id);
|
||||
|
|
|
|||
|
|
@ -2358,8 +2358,8 @@ static void tc358743_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id tc358743_id[] = {
|
||||
{ "tc358743" },
|
||||
{}
|
||||
{ .name = "tc358743" },
|
||||
{ }
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, tc358743_id);
|
||||
|
|
|
|||
|
|
@ -2274,9 +2274,9 @@ static int tda1997x_set_power(struct tda1997x_state *state, bool on)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id tda1997x_i2c_id[] = {
|
||||
{"tda19971", (kernel_ulong_t)&tda1997x_chip_info[TDA19971]},
|
||||
{"tda19973", (kernel_ulong_t)&tda1997x_chip_info[TDA19973]},
|
||||
{ },
|
||||
{ .name = "tda19971", .driver_data = (kernel_ulong_t)&tda1997x_chip_info[TDA19971] },
|
||||
{ .name = "tda19973", .driver_data = (kernel_ulong_t)&tda1997x_chip_info[TDA19973] },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tda1997x_i2c_id);
|
||||
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@ static void tda7432_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id tda7432_id[] = {
|
||||
{ "tda7432" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ "ths7353" },
|
||||
{}
|
||||
{ .name = "ths7303" },
|
||||
{ .name = "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" },
|
||||
{}
|
||||
{ .name = "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" },
|
||||
{ .name = "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" },
|
||||
{ .name = "tvaudio" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tvaudio_id);
|
||||
|
|
|
|||
|
|
@ -1129,10 +1129,10 @@ static const struct tvp514x_reg tvp514xm_init_reg_seq[] = {
|
|||
* driver_data - Driver data
|
||||
*/
|
||||
static const struct i2c_device_id tvp514x_id[] = {
|
||||
{"tvp5146", (kernel_ulong_t)tvp5146_init_reg_seq },
|
||||
{"tvp5146m2", (kernel_ulong_t)tvp514xm_init_reg_seq },
|
||||
{"tvp5147", (kernel_ulong_t)tvp5147_init_reg_seq },
|
||||
{"tvp5147m1", (kernel_ulong_t)tvp514xm_init_reg_seq },
|
||||
{ .name = "tvp5146", .driver_data = (kernel_ulong_t)tvp5146_init_reg_seq },
|
||||
{ .name = "tvp5146m2", .driver_data = (kernel_ulong_t)tvp514xm_init_reg_seq },
|
||||
{ .name = "tvp5147", .driver_data = (kernel_ulong_t)tvp5147_init_reg_seq },
|
||||
{ .name = "tvp5147m1", .driver_data = (kernel_ulong_t)tvp514xm_init_reg_seq },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tvp514x_id);
|
||||
|
|
|
|||
|
|
@ -2265,7 +2265,7 @@ static const struct dev_pm_ops tvp5150_pm_ops = {
|
|||
};
|
||||
|
||||
static const struct i2c_device_id tvp5150_id[] = {
|
||||
{ "tvp5150" },
|
||||
{ .name = "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" },
|
||||
{ .name = "tvp7002" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, tvp7002_id);
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user