* [PATCH 1/2] iio: adc: nau7802: Remove redundant of_match_ptr
@ 2013-10-21 9:27 Sachin Kamat
2013-10-21 9:27 ` [PATCH 2/2] iio: adc: ti_am335x_adc: " Sachin Kamat
2013-10-23 16:52 ` [PATCH 1/2] iio: adc: nau7802: " Jonathan Cameron
0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-10-21 9:27 UTC (permalink / raw)
To: linux-iio; +Cc: jic23, sachin.kamat, Maxime Ripard
nau7802_dt_ids is always compiled in. Hence of_match_ptr is not
needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
---
drivers/iio/adc/nau7802.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/nau7802.c b/drivers/iio/adc/nau7802.c
index adff9cb..54c5bab 100644
--- a/drivers/iio/adc/nau7802.c
+++ b/drivers/iio/adc/nau7802.c
@@ -570,7 +570,7 @@ static struct i2c_driver nau7802_driver = {
.id_table = nau7802_i2c_id,
.driver = {
.name = "nau7802",
- .of_match_table = of_match_ptr(nau7802_dt_ids),
+ .of_match_table = nau7802_dt_ids,
},
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] iio: adc: ti_am335x_adc: Remove redundant of_match_ptr
2013-10-21 9:27 [PATCH 1/2] iio: adc: nau7802: Remove redundant of_match_ptr Sachin Kamat
@ 2013-10-21 9:27 ` Sachin Kamat
2013-10-23 16:52 ` Jonathan Cameron
2013-10-23 16:52 ` [PATCH 1/2] iio: adc: nau7802: " Jonathan Cameron
1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2013-10-21 9:27 UTC (permalink / raw)
To: linux-iio; +Cc: jic23, sachin.kamat
ti_adc_dt_ids is always compiled in. Hence of_match_ptr is not
needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/iio/adc/ti_am335x_adc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c
index 8fb5429..ef553d0 100644
--- a/drivers/iio/adc/ti_am335x_adc.c
+++ b/drivers/iio/adc/ti_am335x_adc.c
@@ -515,7 +515,7 @@ static struct platform_driver tiadc_driver = {
.name = "TI-am335x-adc",
.owner = THIS_MODULE,
.pm = TIADC_PM_OPS,
- .of_match_table = of_match_ptr(ti_adc_dt_ids),
+ .of_match_table = ti_adc_dt_ids,
},
.probe = tiadc_probe,
.remove = tiadc_remove,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] iio: adc: ti_am335x_adc: Remove redundant of_match_ptr
2013-10-21 9:27 ` [PATCH 2/2] iio: adc: ti_am335x_adc: " Sachin Kamat
@ 2013-10-23 16:52 ` Jonathan Cameron
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2013-10-23 16:52 UTC (permalink / raw)
To: Sachin Kamat, linux-iio
On 10/21/13 10:27, Sachin Kamat wrote:
> ti_adc_dt_ids is always compiled in. Hence of_match_ptr is not
> needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Applied
> ---
> drivers/iio/adc/ti_am335x_adc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c
> index 8fb5429..ef553d0 100644
> --- a/drivers/iio/adc/ti_am335x_adc.c
> +++ b/drivers/iio/adc/ti_am335x_adc.c
> @@ -515,7 +515,7 @@ static struct platform_driver tiadc_driver = {
> .name = "TI-am335x-adc",
> .owner = THIS_MODULE,
> .pm = TIADC_PM_OPS,
> - .of_match_table = of_match_ptr(ti_adc_dt_ids),
> + .of_match_table = ti_adc_dt_ids,
> },
> .probe = tiadc_probe,
> .remove = tiadc_remove,
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] iio: adc: nau7802: Remove redundant of_match_ptr
2013-10-21 9:27 [PATCH 1/2] iio: adc: nau7802: Remove redundant of_match_ptr Sachin Kamat
2013-10-21 9:27 ` [PATCH 2/2] iio: adc: ti_am335x_adc: " Sachin Kamat
@ 2013-10-23 16:52 ` Jonathan Cameron
1 sibling, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2013-10-23 16:52 UTC (permalink / raw)
To: Sachin Kamat, linux-iio; +Cc: Maxime Ripard
On 10/21/13 10:27, Sachin Kamat wrote:
> nau7802_dt_ids is always compiled in. Hence of_match_ptr is not
> needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Applied.
> ---
> drivers/iio/adc/nau7802.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/nau7802.c b/drivers/iio/adc/nau7802.c
> index adff9cb..54c5bab 100644
> --- a/drivers/iio/adc/nau7802.c
> +++ b/drivers/iio/adc/nau7802.c
> @@ -570,7 +570,7 @@ static struct i2c_driver nau7802_driver = {
> .id_table = nau7802_i2c_id,
> .driver = {
> .name = "nau7802",
> - .of_match_table = of_match_ptr(nau7802_dt_ids),
> + .of_match_table = nau7802_dt_ids,
> },
> };
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-23 15:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 9:27 [PATCH 1/2] iio: adc: nau7802: Remove redundant of_match_ptr Sachin Kamat
2013-10-21 9:27 ` [PATCH 2/2] iio: adc: ti_am335x_adc: " Sachin Kamat
2013-10-23 16:52 ` Jonathan Cameron
2013-10-23 16:52 ` [PATCH 1/2] iio: adc: nau7802: " Jonathan Cameron
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).