Maxime Ripard a1419fb4a7
drm/mipi-dsi: Create devm device registration
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.

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210910101218.1632297-4-maxime@cerno.tech
2021-09-24 19:25:27 +02:00
..
2021-09-14 09:25:30 +02:00
2021-07-29 09:12:01 +02:00
2021-08-10 20:14:01 +02:00
2021-06-11 12:30:39 -07:00
2021-07-21 11:58:28 +10:00
2021-08-10 20:14:01 +02:00
2021-08-02 16:41:20 +02:00
2021-08-13 17:50:48 +02:00
2021-08-10 20:14:01 +02:00
2020-09-17 13:39:44 +02:00
2021-08-29 21:31:51 +02:00
2020-07-16 18:16:31 -04:00
2021-03-16 13:12:46 +01:00
2019-12-18 16:09:12 -05:00