diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2026-08-25 16:39:22 +0200 |
|---|---|---|
| committer | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-09-09 11:16:19 +0200 |
| commit | dfd2bd7af66564b349a84a2c6a951ea3286a53cf (patch) | |
| tree | fd57dfe1c0a4fc3367580effbadc2f8827d59902 | |
| parent | 730c6d8072d8d9a6dbfd06c7c5ab4479167a792a (diff) | |
| download | linux-next-dfd2bd7af66564b349a84a2c6a951ea3286a53cf.tar.gz linux-next-dfd2bd7af66564b349a84a2c6a951ea3286a53cf.zip | |
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>
| -rw-r--r-- | drivers/gpu/drm/bridge/lontium-lt8713sx.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/bridge/lontium-lt9211.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/bridge/lontium-lt9611.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/bridge/lontium-lt8713sx.c b/drivers/gpu/drm/bridge/lontium-lt8713sx.c index bfff28883280..926f9e1e85bf 100644 --- a/drivers/gpu/drm/bridge/lontium-lt8713sx.c +++ b/drivers/gpu/drm/bridge/lontium-lt8713sx.c @@ -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 */ } }; diff --git a/drivers/gpu/drm/bridge/lontium-lt9211.c b/drivers/gpu/drm/bridge/lontium-lt9211.c index 23682384daf4..285cda58f661 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9211.c +++ b/drivers/gpu/drm/bridge/lontium-lt9211.c @@ -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); diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lontium-lt9611.c index 3ebd8992cd94..cdc2b188e2d8 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611.c @@ -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); diff --git a/drivers/gpu/drm/bridge/lontium-lt9611uxc.c b/drivers/gpu/drm/bridge/lontium-lt9611uxc.c index 42a6503cd0f9..b3bb7f2cebb3 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611uxc.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611uxc.c @@ -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 */ } }; |
