From: Sachin Kamat Date: Mon, 30 Sep 2013 08:45:33 +0000 (+0530) Subject: video: wmt_ge_rops: Remove redundant of_match_ptr X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=421ee4eafc2fbd1394d40c8c36da122cc08687f5;p=deliverable%2Flinux.git video: wmt_ge_rops: Remove redundant of_match_ptr The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat Cc: Alexey Charkov Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/wmt_ge_rops.c b/drivers/video/wmt_ge_rops.c index 4aaeb18223bc..d4ef841f5a14 100644 --- a/drivers/video/wmt_ge_rops.c +++ b/drivers/video/wmt_ge_rops.c @@ -169,7 +169,7 @@ static struct platform_driver wmt_ge_rops_driver = { .driver = { .owner = THIS_MODULE, .name = "wmt_ge_rops", - .of_match_table = of_match_ptr(wmt_dt_ids), + .of_match_table = wmt_dt_ids, }, };