drm/exynos: Remove redundant use of of_match_ptr macro
authorSachin Kamat <[email protected]>
Wed, 5 Jun 2013 07:00:23 +0000 (16:00 +0900)
committerInki Dae <[email protected]>
Fri, 28 Jun 2013 12:11:48 +0000 (21:11 +0900)
'mixer_match_types' is always compiled in. Hence of_match_ptr is not
necessary.

Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
drivers/gpu/drm/exynos/exynos_mixer.c

index 3658e0743487de913719f01a5f1947692dc0f602..de5c735c822301c732212fdcd5d548c056ab1e05 100644 (file)
@@ -1186,8 +1186,7 @@ static int mixer_probe(struct platform_device *pdev)
 
        if (dev->of_node) {
                const struct of_device_id *match;
-               match = of_match_node(of_match_ptr(mixer_match_types),
-                                                         dev->of_node);
+               match = of_match_node(mixer_match_types, dev->of_node);
                drv = (struct mixer_drv_data *)match->data;
        } else {
                drv = (struct mixer_drv_data *)