Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef54f873 authored by Sachin Kamat's avatar Sachin Kamat Committed by David Woodhouse
Browse files

mtd: denali_dt: Remove redundant use of of_match_ptr



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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 2f2ff14c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -146,7 +146,7 @@ static struct platform_driver denali_dt_driver = {
	.driver		= {
	.driver		= {
		.name	= "denali-nand-dt",
		.name	= "denali-nand-dt",
		.owner	= THIS_MODULE,
		.owner	= THIS_MODULE,
		.of_match_table	= of_match_ptr(denali_nand_dt_ids),
		.of_match_table	= denali_nand_dt_ids,
	},
	},
};
};