* [PATCH 1/1] thermal: remove const flag from .ops of imx thermal
@ 2014-01-06 12:54 Eduardo Valentin
2014-01-06 14:49 ` Zhang Rui
0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:54 UTC (permalink / raw)
To: rui.zhang
Cc: Eduardo Valentin, Grant Likely, Rob Herring, linux-pm,
linux-kernel, devicetree
As per previous changes on thermal framework API,
registering a new thermal zone does not require
a const thermal zone ops.
Thus, this patch removes the flag from imx thermal zone ops.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
drivers/thermal/imx_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 77a962f..43d2f77 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -284,7 +284,7 @@ static int imx_unbind(struct thermal_zone_device *tz,
return 0;
}
-static const struct thermal_zone_device_ops imx_tz_ops = {
+static struct thermal_zone_device_ops imx_tz_ops = {
.bind = imx_bind,
.unbind = imx_unbind,
.get_temp = imx_get_temp,
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 1/1] thermal: remove const flag from .ops of imx thermal
2014-01-06 12:54 [PATCH 1/1] thermal: remove const flag from .ops of imx thermal Eduardo Valentin
@ 2014-01-06 14:49 ` Zhang Rui
0 siblings, 0 replies; 2+ messages in thread
From: Zhang Rui @ 2014-01-06 14:49 UTC (permalink / raw)
To: Eduardo Valentin
Cc: Grant Likely, Rob Herring, linux-pm, linux-kernel, devicetree
On Mon, 2014-01-06 at 08:54 -0400, Eduardo Valentin wrote:
> As per previous changes on thermal framework API,
> registering a new thermal zone does not require
> a const thermal zone ops.
>
> Thus, this patch removes the flag from imx thermal zone ops.
>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Grant Likely <grant.likely@linaro.org>
> Cc: Rob Herring <rob.herring@calxeda.com>
> Cc: linux-pm@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
applied.
thanks,
rui
> ---
> drivers/thermal/imx_thermal.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
> index 77a962f..43d2f77 100644
> --- a/drivers/thermal/imx_thermal.c
> +++ b/drivers/thermal/imx_thermal.c
> @@ -284,7 +284,7 @@ static int imx_unbind(struct thermal_zone_device *tz,
> return 0;
> }
>
> -static const struct thermal_zone_device_ops imx_tz_ops = {
> +static struct thermal_zone_device_ops imx_tz_ops = {
> .bind = imx_bind,
> .unbind = imx_unbind,
> .get_temp = imx_get_temp,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-06 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 12:54 [PATCH 1/1] thermal: remove const flag from .ops of imx thermal Eduardo Valentin
2014-01-06 14:49 ` Zhang Rui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox