Re: [PATCH] drm/bridge: lontium: Drop redundant vendor prefix from I2C device name
"Luca Ceresoli" <[email protected]>
| Newsgroups | org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue Aug 25, 2026 at 4:39 PM CEST, Krzysztof Kozlowski wrote: > 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 <[email protected]> Reviewed-by: Luca Ceresoli <[email protected]> -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com