mirror of
https://github.com/torvalds/linux.git
synced 2026-10-30 14:06:03 +01:00
drm/bridge: lontium: Drop redundant vendor prefix from I2C device name
Device names for i2c_device_id are not OF compatibles and have a meaning only for in-tree users (which there are no except the driver itself), thus vendor prefix in this name is completely redundant. It is actually a discouraged pattern because for OF platforms it allows matching driver by I2C bus, instead of OF, thus hiding incomplete way of obtaining driver match data (lack of i2c_get_match_data() usage). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20260825143921.512966-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
This commit is contained in:
parent
730c6d8072
commit
dfd2bd7af6
|
|
@ -572,7 +572,7 @@ static void lt8713sx_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static struct i2c_device_id lt8713sx_id[] = {
|
||||
{ .name = "lontium,lt8713sx" },
|
||||
{ .name = "lt8713sx" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -773,7 +773,7 @@ static void lt9211_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id lt9211_id[] = {
|
||||
{ .name = "lontium,lt9211" },
|
||||
{ .name = "lt9211" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lt9211_id);
|
||||
|
|
|
|||
|
|
@ -1227,7 +1227,7 @@ static void lt9611_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id lt9611_id[] = {
|
||||
{ .name = "lontium,lt9611" },
|
||||
{ .name = "lt9611" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, lt9611_id);
|
||||
|
|
|
|||
|
|
@ -899,7 +899,7 @@ static void lt9611uxc_remove(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id lt9611uxc_id[] = {
|
||||
{ .name = "lontium,lt9611uxc" },
|
||||
{ .name = "lt9611uxc" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user