Merge branches 'intel_pstate' and 'pm-domains'
[platform/kernel/linux-starfive.git] / drivers / gpu / drm / rockchip / cdn-dp-core.c
index 14fa1f8..9b0b058 100644 (file)
@@ -1195,7 +1195,7 @@ static int cdn_dp_probe(struct platform_device *pdev)
                        continue;
 
                port = devm_kzalloc(dev, sizeof(*port), GFP_KERNEL);
-               if (!dp)
+               if (!port)
                        return -ENOMEM;
 
                port->extcon = extcon;