All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] iio: exynos_adc: Remove redundant of_match_ptr macro
@ 2013-03-26  9:42 Sachin Kamat
  2013-03-26  9:42 ` [PATCH 2/2] iio: exynos_adc: Fix a typo in Kconfig help text Sachin Kamat
  2013-03-29  9:25 ` [PATCH 1/2] iio: exynos_adc: Remove redundant of_match_ptr macro Jonathan Cameron
  0 siblings, 2 replies; 5+ messages in thread
From: Sachin Kamat @ 2013-03-26  9:42 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, jic23, ch.naveen, sachin.kamat, patches

exynos_adc is a DT only driver and exynos_adc_match table is always
compiled in. Hence remove the macro.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/iio/adc/exynos_adc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
index 4a8a9a3..9f3a8ef 100644
--- a/drivers/iio/adc/exynos_adc.c
+++ b/drivers/iio/adc/exynos_adc.c
@@ -440,7 +440,7 @@ static struct platform_driver exynos_adc_driver = {
 	.driver		= {
 		.name	= "exynos-adc",
 		.owner	= THIS_MODULE,
-		.of_match_table = of_match_ptr(exynos_adc_match),
+		.of_match_table = exynos_adc_match,
 		.pm	= &exynos_adc_pm_ops,
 	},
 };
-- 
1.7.4.1

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

end of thread, other threads:[~2013-03-29  9:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26  9:42 [PATCH 1/2] iio: exynos_adc: Remove redundant of_match_ptr macro Sachin Kamat
2013-03-26  9:42 ` [PATCH 2/2] iio: exynos_adc: Fix a typo in Kconfig help text Sachin Kamat
2013-03-26 13:23   ` Naveen Krishna Ch
2013-03-29  9:26     ` Jonathan Cameron
2013-03-29  9:25 ` [PATCH 1/2] iio: exynos_adc: Remove redundant of_match_ptr macro Jonathan Cameron

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.