linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr
@ 2013-09-30  3:26 Sachin Kamat
  2013-09-30  3:26 ` [PATCH 2/3] pwm: lpc32xx: " Sachin Kamat
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Sachin Kamat @ 2013-09-30  3:26 UTC (permalink / raw)
  To: linux-pwm; +Cc: thierry.reding, sachin.kamat, Shawn Guo

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
 drivers/pwm/pwm-mxs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
index c2c5a4f..9475bc7 100644
--- a/drivers/pwm/pwm-mxs.c
+++ b/drivers/pwm/pwm-mxs.c
@@ -189,7 +189,7 @@ static struct platform_driver mxs_pwm_driver = {
 	.driver = {
 		.name = "mxs-pwm",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(mxs_pwm_dt_ids),
+		.of_match_table = mxs_pwm_dt_ids,
 	},
 	.probe = mxs_pwm_probe,
 	.remove = mxs_pwm_remove,
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-10-08 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30  3:26 [PATCH 1/3] pwm: mxs: Remove redundant of_match_ptr Sachin Kamat
2013-09-30  3:26 ` [PATCH 2/3] pwm: lpc32xx: " Sachin Kamat
2013-09-30  3:26 ` [PATCH 3/3] pwm: imx: " Sachin Kamat
2013-09-30  8:14   ` Sascha Hauer
2013-10-05  2:15 ` [PATCH 1/3] pwm: mxs: " Shawn Guo
2013-10-08 13:50 ` Thierry Reding
2013-10-08 15:24   ` Sachin Kamat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).