linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr
@ 2013-05-16 10:28 Sachin Kamat
  2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Sachin Kamat @ 2013-05-16 10:28 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, patches, sachin.kamat,
	Ezequiel Garcia

'armada_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 drivers/thermal/armada_thermal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index 0d02d4e..9426bbd 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -220,7 +220,7 @@ static struct platform_driver armada_thermal_driver = {
 	.driver = {
 		.name = "armada_thermal",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(armada_thermal_id_table),
+		.of_match_table = armada_thermal_id_table,
 	},
 };
 
-- 
1.7.9.5


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

* [PATCH 2/4] Thermal: dove: Remove redundant use of of_match_ptr
  2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
@ 2013-05-16 10:28 ` Sachin Kamat
  2013-05-23 14:58   ` Eduardo Valentin
  2013-05-16 10:28 ` [PATCH 3/4] Thermal: kirkwood: " Sachin Kamat
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Sachin Kamat @ 2013-05-16 10:28 UTC (permalink / raw)
  To: linux-pm; +Cc: eduardo.valentin, rui.zhang, patches, sachin.kamat, Andrew Lunn

'dove_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Andrew Lunn <andrew@lunn.ch>
---
 drivers/thermal/dove_thermal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
index 900479e..49f9a0a 100644
--- a/drivers/thermal/dove_thermal.c
+++ b/drivers/thermal/dove_thermal.c
@@ -194,7 +194,7 @@ static struct platform_driver dove_thermal_driver = {
 	.driver = {
 		.name = "dove_thermal",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(dove_thermal_id_table),
+		.of_match_table = dove_thermal_id_table,
 	},
 };
 
-- 
1.7.9.5


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

* [PATCH 3/4] Thermal: kirkwood: Remove redundant use of of_match_ptr
  2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
  2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
@ 2013-05-16 10:28 ` Sachin Kamat
  2013-05-23 14:59   ` Eduardo Valentin
  2013-05-16 10:28 ` [PATCH 4/4] Thermal: spear: " Sachin Kamat
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Sachin Kamat @ 2013-05-16 10:28 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, patches, sachin.kamat,
	Nobuhiro Iwamatsu

'kirkwood_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 drivers/thermal/kirkwood_thermal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c
index b57a45d..944ac49 100644
--- a/drivers/thermal/kirkwood_thermal.c
+++ b/drivers/thermal/kirkwood_thermal.c
@@ -120,7 +120,7 @@ static struct platform_driver kirkwood_thermal_driver = {
 	.driver = {
 		.name = "kirkwood_thermal",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(kirkwood_thermal_id_table),
+		.of_match_table = kirkwood_thermal_id_table,
 	},
 };
 
-- 
1.7.9.5


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

* [PATCH 4/4] Thermal: spear: Remove redundant use of of_match_ptr
  2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
  2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
  2013-05-16 10:28 ` [PATCH 3/4] Thermal: kirkwood: " Sachin Kamat
@ 2013-05-16 10:28 ` Sachin Kamat
  2013-05-16 10:42   ` Viresh Kumar
  2013-05-23 15:01   ` Eduardo Valentin
  2013-05-23 11:40 ` [PATCH 1/4] Thermal: armada: " Sachin Kamat
  2013-05-23 14:58 ` Eduardo Valentin
  4 siblings, 2 replies; 10+ messages in thread
From: Sachin Kamat @ 2013-05-16 10:28 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, patches, sachin.kamat,
	Vincenzo Frascino, Viresh Kumar

'spear_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Vincenzo Frascino <vincenzo.frascino@st.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/thermal/spear_thermal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c
index 1a14eaa..dcb5f6f 100644
--- a/drivers/thermal/spear_thermal.c
+++ b/drivers/thermal/spear_thermal.c
@@ -197,7 +197,7 @@ static struct platform_driver spear_thermal_driver = {
 		.name = "spear_thermal",
 		.owner = THIS_MODULE,
 		.pm = &spear_thermal_pm_ops,
-		.of_match_table = of_match_ptr(spear_thermal_id_table),
+		.of_match_table = spear_thermal_id_table,
 	},
 };
 
-- 
1.7.9.5


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

* Re: [PATCH 4/4] Thermal: spear: Remove redundant use of of_match_ptr
  2013-05-16 10:28 ` [PATCH 4/4] Thermal: spear: " Sachin Kamat
@ 2013-05-16 10:42   ` Viresh Kumar
  2013-05-23 15:01   ` Eduardo Valentin
  1 sibling, 0 replies; 10+ messages in thread
From: Viresh Kumar @ 2013-05-16 10:42 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Vincenzo Frascino

On 16 May 2013 15:58, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 'spear_thermal_id_table' is always compiled in and the driver
> is dependent on OF. Hence use of of_match_ptr is unnecessary.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Vincenzo Frascino <vincenzo.frascino@st.com>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> ---
>  drivers/thermal/spear_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

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

* Re: [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr
  2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
                   ` (2 preceding siblings ...)
  2013-05-16 10:28 ` [PATCH 4/4] Thermal: spear: " Sachin Kamat
@ 2013-05-23 11:40 ` Sachin Kamat
  2013-05-23 14:58 ` Eduardo Valentin
  4 siblings, 0 replies; 10+ messages in thread
From: Sachin Kamat @ 2013-05-23 11:40 UTC (permalink / raw)
  To: linux-pm; +Cc: eduardo.valentin, rui.zhang, sachin.kamat

On 16 May 2013 15:58, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 'armada_thermal_id_table' is always compiled in and the driver
> is dependent on OF. Hence use of of_match_ptr is unnecessary.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
>  drivers/thermal/armada_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
> index 0d02d4e..9426bbd 100644
> --- a/drivers/thermal/armada_thermal.c
> +++ b/drivers/thermal/armada_thermal.c
> @@ -220,7 +220,7 @@ static struct platform_driver armada_thermal_driver = {
>         .driver = {
>                 .name = "armada_thermal",
>                 .owner = THIS_MODULE,
> -               .of_match_table = of_match_ptr(armada_thermal_id_table),
> +               .of_match_table = armada_thermal_id_table,
>         },
>  };
>
> --
> 1.7.9.5
>


Ping.. Any comments on this series?

-- 
With warm regards,
Sachin

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

* Re: [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr
  2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
                   ` (3 preceding siblings ...)
  2013-05-23 11:40 ` [PATCH 1/4] Thermal: armada: " Sachin Kamat
@ 2013-05-23 14:58 ` Eduardo Valentin
  4 siblings, 0 replies; 10+ messages in thread
From: Eduardo Valentin @ 2013-05-23 14:58 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Ezequiel Garcia

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

Rui,

On 16-05-2013 06:28, Sachin Kamat wrote:
> 'armada_thermal_id_table' is always compiled in and the driver
> is dependent on OF. Hence use of of_match_ptr is unnecessary.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>

> ---
>  drivers/thermal/armada_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
> index 0d02d4e..9426bbd 100644
> --- a/drivers/thermal/armada_thermal.c
> +++ b/drivers/thermal/armada_thermal.c
> @@ -220,7 +220,7 @@ static struct platform_driver armada_thermal_driver = {
>  	.driver = {
>  		.name = "armada_thermal",
>  		.owner = THIS_MODULE,
> -		.of_match_table = of_match_ptr(armada_thermal_id_table),
> +		.of_match_table = armada_thermal_id_table,
>  	},
>  };
>  
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

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

* Re: [PATCH 2/4] Thermal: dove: Remove redundant use of of_match_ptr
  2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
@ 2013-05-23 14:58   ` Eduardo Valentin
  0 siblings, 0 replies; 10+ messages in thread
From: Eduardo Valentin @ 2013-05-23 14:58 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Andrew Lunn

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]


Rui,

On 16-05-2013 06:28, Sachin Kamat wrote:
> 'dove_thermal_id_table' is always compiled in and the driver
> is dependent on OF. Hence use of of_match_ptr is unnecessary.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Andrew Lunn <andrew@lunn.ch>

Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>


> ---



>  drivers/thermal/dove_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
> index 900479e..49f9a0a 100644
> --- a/drivers/thermal/dove_thermal.c
> +++ b/drivers/thermal/dove_thermal.c
> @@ -194,7 +194,7 @@ static struct platform_driver dove_thermal_driver = {
>  	.driver = {
>  		.name = "dove_thermal",
>  		.owner = THIS_MODULE,
> -		.of_match_table = of_match_ptr(dove_thermal_id_table),
> +		.of_match_table = dove_thermal_id_table,
>  	},
>  };
>  
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

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

* Re: [PATCH 3/4] Thermal: kirkwood: Remove redundant use of of_match_ptr
  2013-05-16 10:28 ` [PATCH 3/4] Thermal: kirkwood: " Sachin Kamat
@ 2013-05-23 14:59   ` Eduardo Valentin
  0 siblings, 0 replies; 10+ messages in thread
From: Eduardo Valentin @ 2013-05-23 14:59 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Nobuhiro Iwamatsu

[-- Attachment #1: Type: text/plain, Size: 979 bytes --]

Rui,

On 16-05-2013 06:28, Sachin Kamat wrote:
> 'kirkwood_thermal_id_table' is always compiled in and the driver
> is dependent on OF. Hence use of of_match_ptr is unnecessary.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>



Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>


> ---
>  drivers/thermal/kirkwood_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c
> index b57a45d..944ac49 100644
> --- a/drivers/thermal/kirkwood_thermal.c
> +++ b/drivers/thermal/kirkwood_thermal.c
> @@ -120,7 +120,7 @@ static struct platform_driver kirkwood_thermal_driver = {
>  	.driver = {
>  		.name = "kirkwood_thermal",
>  		.owner = THIS_MODULE,
> -		.of_match_table = of_match_ptr(kirkwood_thermal_id_table),
> +		.of_match_table = kirkwood_thermal_id_table,
>  	},
>  };
>  
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

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

* Re: [PATCH 4/4] Thermal: spear: Remove redundant use of of_match_ptr
  2013-05-16 10:28 ` [PATCH 4/4] Thermal: spear: " Sachin Kamat
  2013-05-16 10:42   ` Viresh Kumar
@ 2013-05-23 15:01   ` Eduardo Valentin
  1 sibling, 0 replies; 10+ messages in thread
From: Eduardo Valentin @ 2013-05-23 15:01 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Vincenzo Frascino,
	Viresh Kumar

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

Rui,

On 16-05-2013 06:28, Sachin Kamat wrote:
> 'spear_thermal_id_table' is always compiled in and the driver
> is dependent on OF. Hence use of of_match_ptr is unnecessary.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Vincenzo Frascino <vincenzo.frascino@st.com>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>


Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>


> ---
>  drivers/thermal/spear_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c
> index 1a14eaa..dcb5f6f 100644
> --- a/drivers/thermal/spear_thermal.c
> +++ b/drivers/thermal/spear_thermal.c
> @@ -197,7 +197,7 @@ static struct platform_driver spear_thermal_driver = {
>  		.name = "spear_thermal",
>  		.owner = THIS_MODULE,
>  		.pm = &spear_thermal_pm_ops,
> -		.of_match_table = of_match_ptr(spear_thermal_id_table),
> +		.of_match_table = spear_thermal_id_table,
>  	},
>  };
>  
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

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

end of thread, other threads:[~2013-05-23 15:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
2013-05-23 14:58   ` Eduardo Valentin
2013-05-16 10:28 ` [PATCH 3/4] Thermal: kirkwood: " Sachin Kamat
2013-05-23 14:59   ` Eduardo Valentin
2013-05-16 10:28 ` [PATCH 4/4] Thermal: spear: " Sachin Kamat
2013-05-16 10:42   ` Viresh Kumar
2013-05-23 15:01   ` Eduardo Valentin
2013-05-23 11:40 ` [PATCH 1/4] Thermal: armada: " Sachin Kamat
2013-05-23 14:58 ` Eduardo Valentin

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).