projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e651bb
)
staging: imx-drm: Remove redundant of_match_ptr
author
Sachin Kamat
<
[email protected]
>
Sat, 28 Sep 2013 10:22:30 +0000
(15:52 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 1 Oct 2013 01:47:00 +0000
(18:47 -0700)
'imx_ldb_dt_ids' is always compiled in. Hence of_match_ptr() is
not needed.
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/imx-drm/imx-ldb.c
patch
|
blob
|
history
diff --git
a/drivers/staging/imx-drm/imx-ldb.c
b/drivers/staging/imx-drm/imx-ldb.c
index b81ed41766b9218e11a49d35a3cc8fba795739fd..926f49339b2619ee136e16f5474369b971aa9dc5 100644
(file)
--- 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;