mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
We need to check if a link is non-NULL before trying to delete it.
Fixes: 61df9ca231 ("drm/simpledrm: Add support for multiple "power-domains"")
Signed-off-by: Thierry Reding <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Cc: Janne Grunau <[email protected]>
Cc: Eric Curtin <[email protected]>
Cc: Neal Gompa <[email protected]>
Cc: Sven Peter <[email protected]>
Cc: Javier Martinez Canillas <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]