Commit 28d31374 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

staging: imx-drm: Remove redundant of_match_ptr

'imx_ldb_dt_ids' is always compiled in. Hence of_match_ptr() is
not needed.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8e651bb9
...@@ -466,8 +466,7 @@ static int imx_ldb_probe(struct platform_device *pdev) ...@@ -466,8 +466,7 @@ static int imx_ldb_probe(struct platform_device *pdev)
{ {
struct device_node *np = pdev->dev.of_node; struct device_node *np = pdev->dev.of_node;
const struct of_device_id *of_id = const struct of_device_id *of_id =
of_match_device(of_match_ptr(imx_ldb_dt_ids), of_match_device(imx_ldb_dt_ids, &pdev->dev);
&pdev->dev);
struct device_node *child; struct device_node *child;
const u8 *edidp; const u8 *edidp;
struct imx_ldb *imx_ldb; struct imx_ldb *imx_ldb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment