mtd: denali_dt: Remove redundant use of of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Mar 2013 09:41:14 +0000 (15:11 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 13:04:34 +0000 (14:04 +0100)
Since this driver is dt only and denali_nand_dt_ids is always
compiled in, use of of_match_ptr() macro is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/denali_dt.c

index 067a505aa624c809de6342b0feb892876a0e65bd..92530244e2cbfdf48ecc2aa2282b90d12a98d0ad 100644 (file)
@@ -146,7 +146,7 @@ static struct platform_driver denali_dt_driver = {
        .driver         = {
                .name   = "denali-nand-dt",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(denali_nand_dt_ids),
+               .of_match_table = denali_nand_dt_ids,
        },
 };
 
This page took 0.026462 seconds and 5 git commands to generate.