linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata()
@ 2013-05-03  9:57 Sachin Kamat
  2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:57 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, sachin.kamat, patches,
	Ezequiel Garcia

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

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

diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index 5b4d75f..0d02d4e 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -210,7 +210,6 @@ static int armada_thermal_exit(struct platform_device *pdev)
 		platform_get_drvdata(pdev);
 
 	thermal_zone_device_unregister(armada_thermal);
-	platform_set_drvdata(pdev, NULL);
 
 	return 0;
 }
-- 
1.7.9.5


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

* [PATCH 2/6] Thermal: dove_thermal: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
@ 2013-05-03  9:57 ` Sachin Kamat
  2013-05-03 10:12   ` Andrew Lunn
  2013-05-03 12:47   ` Eduardo Valentin
  2013-05-03  9:57 ` [PATCH 3/6] Thermal: exynos: " Sachin Kamat
                   ` (5 subsequent siblings)
  6 siblings, 2 replies; 19+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:57 UTC (permalink / raw)
  To: linux-pm; +Cc: eduardo.valentin, rui.zhang, sachin.kamat, patches, Andrew Lunn

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

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

diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
index 4b15a5f..900479e 100644
--- a/drivers/thermal/dove_thermal.c
+++ b/drivers/thermal/dove_thermal.c
@@ -182,7 +182,6 @@ static int dove_thermal_exit(struct platform_device *pdev)
 		platform_get_drvdata(pdev);
 
 	thermal_zone_device_unregister(dove_thermal);
-	platform_set_drvdata(pdev, NULL);
 
 	return 0;
 }
-- 
1.7.9.5


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

* [PATCH 3/6] Thermal: exynos: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
  2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
@ 2013-05-03  9:57 ` Sachin Kamat
  2013-05-03 12:49   ` Eduardo Valentin
  2013-05-03  9:57 ` [PATCH 4/6] Thermal: kirkwood: " Sachin Kamat
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 19+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:57 UTC (permalink / raw)
  To: linux-pm; +Cc: eduardo.valentin, rui.zhang, sachin.kamat, patches

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/thermal/exynos_thermal.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
index d20ce9e..992ae6e 100644
--- a/drivers/thermal/exynos_thermal.c
+++ b/drivers/thermal/exynos_thermal.c
@@ -1001,7 +1001,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
 
 	return 0;
 err_clk:
-	platform_set_drvdata(pdev, NULL);
 	clk_unprepare(data->clk);
 	return ret;
 }
@@ -1016,8 +1015,6 @@ static int exynos_tmu_remove(struct platform_device *pdev)
 
 	clk_unprepare(data->clk);
 
-	platform_set_drvdata(pdev, NULL);
-
 	return 0;
 }
 
-- 
1.7.9.5


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

* [PATCH 4/6] Thermal: kirkwood: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
  2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
  2013-05-03  9:57 ` [PATCH 3/6] Thermal: exynos: " Sachin Kamat
@ 2013-05-03  9:57 ` Sachin Kamat
  2013-05-03 12:50   ` Eduardo Valentin
  2013-05-03 18:24   ` Nobuhiro Iwamatsu
  2013-05-03  9:57 ` [PATCH 5/6] Thermal: rcar: " Sachin Kamat
                   ` (3 subsequent siblings)
  6 siblings, 2 replies; 19+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:57 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, sachin.kamat, patches,
	Nobuhiro Iwamatsu

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

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

diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c
index dfeceaf..b57a45d 100644
--- a/drivers/thermal/kirkwood_thermal.c
+++ b/drivers/thermal/kirkwood_thermal.c
@@ -108,7 +108,6 @@ static int kirkwood_thermal_exit(struct platform_device *pdev)
 		platform_get_drvdata(pdev);
 
 	thermal_zone_device_unregister(kirkwood_thermal);
-	platform_set_drvdata(pdev, NULL);
 
 	return 0;
 }
-- 
1.7.9.5


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

* [PATCH 5/6] Thermal: rcar: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
                   ` (2 preceding siblings ...)
  2013-05-03  9:57 ` [PATCH 4/6] Thermal: kirkwood: " Sachin Kamat
@ 2013-05-03  9:57 ` Sachin Kamat
  2013-05-03 12:51   ` Eduardo Valentin
  2013-05-03  9:57 ` [PATCH 6/6] Thermal: spear: " Sachin Kamat
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 19+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:57 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, sachin.kamat, patches,
	Kuninori Morimoto

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 drivers/thermal/rcar_thermal.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 8d7edd4..63c7c13 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -487,8 +487,6 @@ static int rcar_thermal_remove(struct platform_device *pdev)
 			rcar_thermal_irq_disable(priv);
 	}
 
-	platform_set_drvdata(pdev, NULL);
-
 	pm_runtime_put_sync(dev);
 	pm_runtime_disable(dev);
 
-- 
1.7.9.5


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

* [PATCH 6/6] Thermal: spear: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
                   ` (3 preceding siblings ...)
  2013-05-03  9:57 ` [PATCH 5/6] Thermal: rcar: " Sachin Kamat
@ 2013-05-03  9:57 ` Sachin Kamat
  2013-05-03 12:51   ` Eduardo Valentin
  2013-05-04  6:15   ` Viresh Kumar
  2013-05-03 11:31 ` [PATCH 1/6] Thermal: armada_thermal: " Ezequiel Garcia
  2013-05-03 12:46 ` Eduardo Valentin
  6 siblings, 2 replies; 19+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:57 UTC (permalink / raw)
  To: linux-pm
  Cc: eduardo.valentin, rui.zhang, sachin.kamat, patches,
	Vincenzo Frascino

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

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

diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c
index 3c5ee56..1a14eaa 100644
--- a/drivers/thermal/spear_thermal.c
+++ b/drivers/thermal/spear_thermal.c
@@ -174,7 +174,6 @@ static int spear_thermal_exit(struct platform_device *pdev)
 	struct spear_thermal_dev *stdev = spear_thermal->devdata;
 
 	thermal_zone_device_unregister(spear_thermal);
-	platform_set_drvdata(pdev, NULL);
 
 	/* Disable SPEAr Thermal Sensor */
 	actual_mask = readl_relaxed(stdev->thermal_base);
-- 
1.7.9.5


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

* Re: [PATCH 2/6] Thermal: dove_thermal: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
@ 2013-05-03 10:12   ` Andrew Lunn
  2013-05-03 12:47   ` Eduardo Valentin
  1 sibling, 0 replies; 19+ messages in thread
From: Andrew Lunn @ 2013-05-03 10:12 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Andrew Lunn

On Fri, May 03, 2013 at 03:27:09PM +0530, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Andrew Lunn <andrew@lunn.ch>
> ---
>  drivers/thermal/dove_thermal.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
> index 4b15a5f..900479e 100644
> --- a/drivers/thermal/dove_thermal.c
> +++ b/drivers/thermal/dove_thermal.c
> @@ -182,7 +182,6 @@ static int dove_thermal_exit(struct platform_device *pdev)
>  		platform_get_drvdata(pdev);
>  
>  	thermal_zone_device_unregister(dove_thermal);
> -	platform_set_drvdata(pdev, NULL);
>  
>  	return 0;
>  }
> -- 
> 1.7.9.5
> 

Acked-by: Andrew Lunn <andrew@lunn.ch>

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

* Re: [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
                   ` (4 preceding siblings ...)
  2013-05-03  9:57 ` [PATCH 6/6] Thermal: spear: " Sachin Kamat
@ 2013-05-03 11:31 ` Ezequiel Garcia
  2013-05-03 12:46 ` Eduardo Valentin
  6 siblings, 0 replies; 19+ messages in thread
From: Ezequiel Garcia @ 2013-05-03 11:31 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pm, eduardo.valentin, rui.zhang, patches

On Fri, May 03, 2013 at 03:27:08PM +0530, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
>  drivers/thermal/armada_thermal.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
> index 5b4d75f..0d02d4e 100644
> --- a/drivers/thermal/armada_thermal.c
> +++ b/drivers/thermal/armada_thermal.c
> @@ -210,7 +210,6 @@ static int armada_thermal_exit(struct platform_device *pdev)
>  		platform_get_drvdata(pdev);
>  
>  	thermal_zone_device_unregister(armada_thermal);
> -	platform_set_drvdata(pdev, NULL);
>  
>  	return 0;
>  }

Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com

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

* Re: [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
                   ` (5 preceding siblings ...)
  2013-05-03 11:31 ` [PATCH 1/6] Thermal: armada_thermal: " Ezequiel Garcia
@ 2013-05-03 12:46 ` Eduardo Valentin
  2013-05-16  8:09   ` Sachin Kamat
  6 siblings, 1 reply; 19+ messages in thread
From: Eduardo Valentin @ 2013-05-03 12:46 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Ezequiel Garcia

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

On 03-05-2013 05:57, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

I am fine with this patch.

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

> ---
>  drivers/thermal/armada_thermal.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
> index 5b4d75f..0d02d4e 100644
> --- a/drivers/thermal/armada_thermal.c
> +++ b/drivers/thermal/armada_thermal.c
> @@ -210,7 +210,6 @@ static int armada_thermal_exit(struct platform_device *pdev)
>  		platform_get_drvdata(pdev);
>  
>  	thermal_zone_device_unregister(armada_thermal);
> -	platform_set_drvdata(pdev, NULL);
>  
>  	return 0;
>  }
> 



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

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

* Re: [PATCH 2/6] Thermal: dove_thermal: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
  2013-05-03 10:12   ` Andrew Lunn
@ 2013-05-03 12:47   ` Eduardo Valentin
  1 sibling, 0 replies; 19+ messages in thread
From: Eduardo Valentin @ 2013-05-03 12:47 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Andrew Lunn

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

On 03-05-2013 05:57, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> 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 |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
> index 4b15a5f..900479e 100644
> --- a/drivers/thermal/dove_thermal.c
> +++ b/drivers/thermal/dove_thermal.c
> @@ -182,7 +182,6 @@ static int dove_thermal_exit(struct platform_device *pdev)
>  		platform_get_drvdata(pdev);
>  
>  	thermal_zone_device_unregister(dove_thermal);
> -	platform_set_drvdata(pdev, NULL);
>  
>  	return 0;
>  }
> 



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

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

* Re: [PATCH 3/6] Thermal: exynos: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 3/6] Thermal: exynos: " Sachin Kamat
@ 2013-05-03 12:49   ` Eduardo Valentin
  0 siblings, 0 replies; 19+ messages in thread
From: Eduardo Valentin @ 2013-05-03 12:49 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pm, eduardo.valentin, rui.zhang, patches

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

On 03-05-2013 05:57, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

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

> ---
>  drivers/thermal/exynos_thermal.c |    3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
> index d20ce9e..992ae6e 100644
> --- a/drivers/thermal/exynos_thermal.c
> +++ b/drivers/thermal/exynos_thermal.c
> @@ -1001,7 +1001,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
>  
>  	return 0;
>  err_clk:
> -	platform_set_drvdata(pdev, NULL);
>  	clk_unprepare(data->clk);
>  	return ret;
>  }
> @@ -1016,8 +1015,6 @@ static int exynos_tmu_remove(struct platform_device *pdev)
>  
>  	clk_unprepare(data->clk);
>  
> -	platform_set_drvdata(pdev, NULL);
> -
>  	return 0;
>  }
>  
> 



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

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

* Re: [PATCH 4/6] Thermal: kirkwood: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 4/6] Thermal: kirkwood: " Sachin Kamat
@ 2013-05-03 12:50   ` Eduardo Valentin
  2013-05-03 18:24   ` Nobuhiro Iwamatsu
  1 sibling, 0 replies; 19+ messages in thread
From: Eduardo Valentin @ 2013-05-03 12:50 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Nobuhiro Iwamatsu

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

On 03-05-2013 05:57, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> 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 |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c
> index dfeceaf..b57a45d 100644
> --- a/drivers/thermal/kirkwood_thermal.c
> +++ b/drivers/thermal/kirkwood_thermal.c
> @@ -108,7 +108,6 @@ static int kirkwood_thermal_exit(struct platform_device *pdev)
>  		platform_get_drvdata(pdev);
>  
>  	thermal_zone_device_unregister(kirkwood_thermal);
> -	platform_set_drvdata(pdev, NULL);
>  
>  	return 0;
>  }
> 



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

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

* Re: [PATCH 5/6] Thermal: rcar: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 5/6] Thermal: rcar: " Sachin Kamat
@ 2013-05-03 12:51   ` Eduardo Valentin
  0 siblings, 0 replies; 19+ messages in thread
From: Eduardo Valentin @ 2013-05-03 12:51 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Kuninori Morimoto

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

On 03-05-2013 05:57, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>



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

> ---
>  drivers/thermal/rcar_thermal.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
> index 8d7edd4..63c7c13 100644
> --- a/drivers/thermal/rcar_thermal.c
> +++ b/drivers/thermal/rcar_thermal.c
> @@ -487,8 +487,6 @@ static int rcar_thermal_remove(struct platform_device *pdev)
>  			rcar_thermal_irq_disable(priv);
>  	}
>  
> -	platform_set_drvdata(pdev, NULL);
> -
>  	pm_runtime_put_sync(dev);
>  	pm_runtime_disable(dev);
>  
> 



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

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

* Re: [PATCH 6/6] Thermal: spear: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 6/6] Thermal: spear: " Sachin Kamat
@ 2013-05-03 12:51   ` Eduardo Valentin
  2013-05-04  6:15   ` Viresh Kumar
  1 sibling, 0 replies; 19+ messages in thread
From: Eduardo Valentin @ 2013-05-03 12:51 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Vincenzo Frascino

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

On 03-05-2013 05:57, Sachin Kamat wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Vincenzo Frascino <vincenzo.frascino@st.com>


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

> ---
>  drivers/thermal/spear_thermal.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c
> index 3c5ee56..1a14eaa 100644
> --- a/drivers/thermal/spear_thermal.c
> +++ b/drivers/thermal/spear_thermal.c
> @@ -174,7 +174,6 @@ static int spear_thermal_exit(struct platform_device *pdev)
>  	struct spear_thermal_dev *stdev = spear_thermal->devdata;
>  
>  	thermal_zone_device_unregister(spear_thermal);
> -	platform_set_drvdata(pdev, NULL);
>  
>  	/* Disable SPEAr Thermal Sensor */
>  	actual_mask = readl_relaxed(stdev->thermal_base);
> 



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

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

* Re: [PATCH 4/6] Thermal: kirkwood: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 4/6] Thermal: kirkwood: " Sachin Kamat
  2013-05-03 12:50   ` Eduardo Valentin
@ 2013-05-03 18:24   ` Nobuhiro Iwamatsu
  1 sibling, 0 replies; 19+ messages in thread
From: Nobuhiro Iwamatsu @ 2013-05-03 18:24 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-pm, eduardo.valentin, rui.zhang, patches

2013/5/3 Sachin Kamat <sachin.kamat@linaro.org>:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

> ---
>  drivers/thermal/kirkwood_thermal.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c
> index dfeceaf..b57a45d 100644
> --- a/drivers/thermal/kirkwood_thermal.c
> +++ b/drivers/thermal/kirkwood_thermal.c
> @@ -108,7 +108,6 @@ static int kirkwood_thermal_exit(struct platform_device *pdev)
>                 platform_get_drvdata(pdev);
>
>         thermal_zone_device_unregister(kirkwood_thermal);
> -       platform_set_drvdata(pdev, NULL);
>
>         return 0;
>  }
> --
> 1.7.9.5
>



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

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

* Re: [PATCH 6/6] Thermal: spear: Remove redundant platform_set_drvdata()
  2013-05-03  9:57 ` [PATCH 6/6] Thermal: spear: " Sachin Kamat
  2013-05-03 12:51   ` Eduardo Valentin
@ 2013-05-04  6:15   ` Viresh Kumar
  1 sibling, 0 replies; 19+ messages in thread
From: Viresh Kumar @ 2013-05-04  6:15 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-pm, eduardo.valentin, rui.zhang, patches, Vincenzo Frascino

On Fri, May 3, 2013 at 3:27 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> driver is bound) removes the need to set driver data field to
> NULL.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Vincenzo Frascino <vincenzo.frascino@st.com>
> ---
>  drivers/thermal/spear_thermal.c |    1 -
>  1 file changed, 1 deletion(-)

For SPEAr,

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

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

* Re: [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata()
  2013-05-03 12:46 ` Eduardo Valentin
@ 2013-05-16  8:09   ` Sachin Kamat
  2013-05-16  8:46     ` Zhang Rui
  0 siblings, 1 reply; 19+ messages in thread
From: Sachin Kamat @ 2013-05-16  8:09 UTC (permalink / raw)
  To: Eduardo Valentin; +Cc: linux-pm, rui.zhang

On 3 May 2013 18:16, Eduardo Valentin <eduardo.valentin@ti.com> wrote:
> On 03-05-2013 05:57, Sachin Kamat wrote:
>> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
>> driver is bound) removes the need to set driver data field to
>> NULL.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
>
> I am fine with this patch.
>
> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>

Ping on this series Rui :)

-- 
With warm regards,
Sachin

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

* Re: [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata()
  2013-05-16  8:09   ` Sachin Kamat
@ 2013-05-16  8:46     ` Zhang Rui
  2013-05-16  8:51       ` Sachin Kamat
  0 siblings, 1 reply; 19+ messages in thread
From: Zhang Rui @ 2013-05-16  8:46 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: Eduardo Valentin, linux-pm

On Thu, 2013-05-16 at 13:39 +0530, Sachin Kamat wrote:
> On 3 May 2013 18:16, Eduardo Valentin <eduardo.valentin@ti.com> wrote:
> > On 03-05-2013 05:57, Sachin Kamat wrote:
> >> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
> >> driver is bound) removes the need to set driver data field to
> >> NULL.
> >>
> >> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> >> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> >
> > I am fine with this patch.
> >
> > Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
> 
> Ping on this series Rui :)
> 
I think I've applied this patch set.
sorry that I did not reply the email.
all patches are in thermal -next tree now.

thanks,
rui



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

* Re: [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata()
  2013-05-16  8:46     ` Zhang Rui
@ 2013-05-16  8:51       ` Sachin Kamat
  0 siblings, 0 replies; 19+ messages in thread
From: Sachin Kamat @ 2013-05-16  8:51 UTC (permalink / raw)
  To: Zhang Rui; +Cc: Eduardo Valentin, linux-pm

On 16 May 2013 14:16, Zhang Rui <rui.zhang@intel.com> wrote:
> On Thu, 2013-05-16 at 13:39 +0530, Sachin Kamat wrote:
>> On 3 May 2013 18:16, Eduardo Valentin <eduardo.valentin@ti.com> wrote:
>> > On 03-05-2013 05:57, Sachin Kamat wrote:
>> >> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
>> >> driver is bound) removes the need to set driver data field to
>> >> NULL.
>> >>
>> >> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> >> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
>> >
>> > I am fine with this patch.
>> >
>> > Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
>>
>> Ping on this series Rui :)
>>
> I think I've applied this patch set.
> sorry that I did not reply the email.

No problem :)

> all patches are in thermal -next tree now.

Thanks Rui.



-- 
With warm regards,
Sachin

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

end of thread, other threads:[~2013-05-16  8:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03  9:57 [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-03  9:57 ` [PATCH 2/6] Thermal: dove_thermal: " Sachin Kamat
2013-05-03 10:12   ` Andrew Lunn
2013-05-03 12:47   ` Eduardo Valentin
2013-05-03  9:57 ` [PATCH 3/6] Thermal: exynos: " Sachin Kamat
2013-05-03 12:49   ` Eduardo Valentin
2013-05-03  9:57 ` [PATCH 4/6] Thermal: kirkwood: " Sachin Kamat
2013-05-03 12:50   ` Eduardo Valentin
2013-05-03 18:24   ` Nobuhiro Iwamatsu
2013-05-03  9:57 ` [PATCH 5/6] Thermal: rcar: " Sachin Kamat
2013-05-03 12:51   ` Eduardo Valentin
2013-05-03  9:57 ` [PATCH 6/6] Thermal: spear: " Sachin Kamat
2013-05-03 12:51   ` Eduardo Valentin
2013-05-04  6:15   ` Viresh Kumar
2013-05-03 11:31 ` [PATCH 1/6] Thermal: armada_thermal: " Ezequiel Garcia
2013-05-03 12:46 ` Eduardo Valentin
2013-05-16  8:09   ` Sachin Kamat
2013-05-16  8:46     ` Zhang Rui
2013-05-16  8:51       ` 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).