提交 485bc54c 编写于 作者: S Seung-Woo Kim 提交者: Inki Dae

drm/exynos: use release_mem_region instead of release_resource

To make a api pair of request_mem_region and release_mem_region,
release_mem_region is used instead of release_resource.
Signed-off-by: NSeung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: NInki Dae <inki.dae@samsung.com>
Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
上级 590dfe2f
...@@ -1116,8 +1116,8 @@ static int __devinit hdmi_probe(struct platform_device *pdev) ...@@ -1116,8 +1116,8 @@ static int __devinit hdmi_probe(struct platform_device *pdev)
err_iomap: err_iomap:
iounmap(hdata->regs); iounmap(hdata->regs);
err_req_region: err_req_region:
release_resource(hdata->regs_res); release_mem_region(hdata->regs_res->start,
kfree(hdata->regs_res); resource_size(hdata->regs_res));
err_resource: err_resource:
hdmi_resources_cleanup(hdata); hdmi_resources_cleanup(hdata);
err_data: err_data:
...@@ -1145,8 +1145,8 @@ static int __devexit hdmi_remove(struct platform_device *pdev) ...@@ -1145,8 +1145,8 @@ static int __devexit hdmi_remove(struct platform_device *pdev)
iounmap(hdata->regs); iounmap(hdata->regs);
release_resource(hdata->regs_res); release_mem_region(hdata->regs_res->start,
kfree(hdata->regs_res); resource_size(hdata->regs_res));
/* hdmiphy i2c driver */ /* hdmiphy i2c driver */
i2c_del_driver(&hdmiphy_driver); i2c_del_driver(&hdmiphy_driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册