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

Commit de02cb88 authored by Sachin Kamat's avatar Sachin Kamat Committed by Thierry Reding
Browse files

pwm: mxs: 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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent ea8eeb15
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -189,7 +189,7 @@ static struct platform_driver mxs_pwm_driver = {
	.driver = {
	.driver = {
		.name = "mxs-pwm",
		.name = "mxs-pwm",
		.owner = THIS_MODULE,
		.owner = THIS_MODULE,
		.of_match_table = of_match_ptr(mxs_pwm_dt_ids),
		.of_match_table = mxs_pwm_dt_ids,
	},
	},
	.probe = mxs_pwm_probe,
	.probe = mxs_pwm_probe,
	.remove = mxs_pwm_remove,
	.remove = mxs_pwm_remove,