mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
drm: rockchip: rk628: fix warning of missing error code 'ret'
Signed-off-by: Chen Shunqing <csq@rock-chips.com> Change-Id: I9d0001ed94ac0e2d885e62f22e3363a3421f89c8
This commit is contained in:
@@ -1564,6 +1564,7 @@ static int rk628_hdmi_probe(struct platform_device *pdev)
|
||||
hdmi->extcon = devm_extcon_dev_allocate(hdmi->dev, rk628_hdmi_cable);
|
||||
if (IS_ERR(hdmi->extcon)) {
|
||||
dev_err(hdmi->dev, "allocate extcon failed\n");
|
||||
ret = PTR_ERR(hdmi->extcon);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user