drm/plane: Fix IS_ERR() vs NULL bug drm_plane_create_color_pipeline_property()

The drm_property_create_enum() function returns NULL on error, it never
returns error pointers.  Fix the error checking to match.

Fixes: 2afc3184f3 ("drm/plane: Add COLOR PIPELINE property")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Simon Ser <contact@emersion.fr>
Link: https://patch.msgid.link/aTK9ZR0sMgqSACow@stanley.mountain
This commit is contained in:
Dan Carpenter 2025-12-05 14:09:25 +03:00 • committed by Simon Ser
commit 470cb09a29