summaryrefslogtreecommitdiffstats
path: root/drivers/staging/imx-drm/imx-ldb.c
diff options
context:
space:
mode:
authorSachin Kamat2013-09-28 12:22:30 +0200
committerGreg Kroah-Hartman2013-10-01 03:47:00 +0200
commit28d31374d6356e15bdfbe9f24303305363ea7ad3 (patch)
tree5c35373ab53911584904b4776f18a7681bfe2d73 /drivers/staging/imx-drm/imx-ldb.c
parentStaging: sm7xxfb: fixed line break coding style issues (diff)
downloadkernel-qcow2-linux-28d31374d6356e15bdfbe9f24303305363ea7ad3.tar.gz
kernel-qcow2-linux-28d31374d6356e15bdfbe9f24303305363ea7ad3.tar.xz
kernel-qcow2-linux-28d31374d6356e15bdfbe9f24303305363ea7ad3.zip
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: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/imx-drm/imx-ldb.c')
-rw-r--r--drivers/staging/imx-drm/imx-ldb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c
index b81ed41766b9..926f49339b26 100644
--- a/drivers/staging/imx-drm/imx-ldb.c
+++ b/drivers/staging/imx-drm/imx-ldb.c
@@ -466,8 +466,7 @@ static int imx_ldb_probe(struct platform_device *pdev)
{
struct device_node *np = pdev->dev.of_node;
const struct of_device_id *of_id =
- of_match_device(of_match_ptr(imx_ldb_dt_ids),
- &pdev->dev);
+ of_match_device(imx_ldb_dt_ids, &pdev->dev);
struct device_node *child;
const u8 *edidp;
struct imx_ldb *imx_ldb;