diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-07-11 20:39:12 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-07-13 11:46:10 +0300 |
commit | 015653f7af7cb7fa56e9a88af2a15c814a39b6b4 (patch) | |
tree | 445f0b937f690919b945738a8730f32d6cd41c0f /block/genhd.c | |
parent | 59f9d46af43c884b92f690934263196387437c7e (diff) | |
download | linux-015653f7af7cb7fa56e9a88af2a15c814a39b6b4.tar.xz |
drm/vc4: hdmi: Switch to device-managed CEC initialization
The current code to unregister our CEC device needs to be undone manually
when we remove the HDMI driver.
Since the CEC framework will allocate its main structure, and will defer
its deallocation to when the last user will have closed it, we don't really
need to take any particular measure to prevent any use-after-free and can
thus use any managed action.
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-43-maxime@cerno.tech
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions