All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH Resend 1/2] pwm: atmel: Remove redundant of_match_ptr helper
@ 2014-01-23 10:58 Sachin Kamat
  2014-01-23 10:58 ` [PATCH Resend 2/2] pwm: pxa: Use " Sachin Kamat
  2014-01-23 12:44 ` [PATCH Resend 1/2] pwm: atmel: Remove redundant " Thierry Reding
  0 siblings, 2 replies; 6+ messages in thread
From: Sachin Kamat @ 2014-01-23 10:58 UTC (permalink / raw)
  To: linux-pwm; +Cc: thierry.reding, sachin.kamat

'atmel_pwm_dt_ids' is always compiled in. Hence the
helper macro is not needed.

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

diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index bf4144a14661..45f0fb793528 100644
--- a/drivers/pwm/pwm-atmel.c
+++ b/drivers/pwm/pwm-atmel.c
@@ -381,7 +381,7 @@ static int atmel_pwm_remove(struct platform_device *pdev)
 static struct platform_driver atmel_pwm_driver = {
 	.driver = {
 		.name = "atmel-pwm",
-		.of_match_table = of_match_ptr(atmel_pwm_dt_ids),
+		.of_match_table = atmel_pwm_dt_ids,
 	},
 	.id_table = atmel_pwm_devtypes,
 	.probe = atmel_pwm_probe,
-- 
1.7.9.5


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

end of thread, other threads:[~2014-01-24  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23 10:58 [PATCH Resend 1/2] pwm: atmel: Remove redundant of_match_ptr helper Sachin Kamat
2014-01-23 10:58 ` [PATCH Resend 2/2] pwm: pxa: Use " Sachin Kamat
2014-01-23 12:48   ` Thierry Reding
2014-01-24  9:05     ` Sachin Kamat
2014-01-23 12:44 ` [PATCH Resend 1/2] pwm: atmel: Remove redundant " Thierry Reding
2014-01-24  9:04   ` Sachin Kamat

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.