linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] thermal: qcom-spmi: Delete unused field 'prev_stage'
@ 2018-07-24 23:56 Matthias Kaehlcke
  2018-07-25 23:25 ` Doug Anderson
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Kaehlcke @ 2018-07-24 23:56 UTC (permalink / raw)
  To: Zhang Rui, Eduardo Valentin
  Cc: linux-pm, linux-kernel, Douglas Anderson, Matthias Kaehlcke

The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---
 drivers/thermal/qcom-spmi-temp-alarm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/thermal/qcom-spmi-temp-alarm.c b/drivers/thermal/qcom-spmi-temp-alarm.c
index ad4f3a8d6560..964d35e32027 100644
--- a/drivers/thermal/qcom-spmi-temp-alarm.c
+++ b/drivers/thermal/qcom-spmi-temp-alarm.c
@@ -67,7 +67,6 @@ struct qpnp_tm_chip {
 	long				temp;
 	unsigned int			thresh;
 	unsigned int			stage;
-	unsigned int			prev_stage;
 	unsigned int			base;
 	struct iio_channel		*adc;
 };
-- 
2.18.0.233.g985f88cf7e-goog


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

* Re: [PATCH] thermal: qcom-spmi: Delete unused field 'prev_stage'
  2018-07-24 23:56 [PATCH] thermal: qcom-spmi: Delete unused field 'prev_stage' Matthias Kaehlcke
@ 2018-07-25 23:25 ` Doug Anderson
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Anderson @ 2018-07-25 23:25 UTC (permalink / raw)
  To: Matthias Kaehlcke; +Cc: Zhang Rui, Eduardo Valentin, linux-pm, LKML

Hi,

On Tue, Jul 24, 2018 at 4:56 PM, Matthias Kaehlcke <mka@chromium.org> wrote:
> The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it.
>
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---
>  drivers/thermal/qcom-spmi-temp-alarm.c | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Douglas Anderson <dianders@chromium.org>

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

end of thread, other threads:[~2018-07-25 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-24 23:56 [PATCH] thermal: qcom-spmi: Delete unused field 'prev_stage' Matthias Kaehlcke
2018-07-25 23:25 ` Doug Anderson

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