[PATCH v3 3/8] drm/mipi-dsi: Create devm device registration

Andrzej Hajda a.hajda at samsung.com
Tue Aug 24 13:03:34 UTC 2021


W dniu 23.08.2021 o 10:47, Maxime Ripard pisze:
> Devices that take their data through the MIPI-DSI bus but are controlled
> through a secondary bus like I2C have to register a secondary device on
> the MIPI-DSI bus through the mipi_dsi_device_register_full() function.
>
> At removal or when an error occurs, that device needs to be removed
> through a call to mipi_dsi_device_unregister().
>
> Let's create a device-managed variant of the registration function that
> will automatically unregister the device at unbind.
>
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
Reviewed-by: Andrzej Hajda <a.hajda at samsung.com>

Regards
Andrzej


More information about the dri-devel mailing list