From: srinivas pandruvada <srinivas.pandruvada@linux.intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Linux PM <linux-pm@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>
Subject: Re: [PATCH v1 2/2] thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition
Date: Thu, 10 Aug 2023 09:53:23 -0700 [thread overview]
Message-ID: <8850e62411ecc0a3d77a647c6bfc51387bf293ee.camel@linux.intel.com> (raw)
In-Reply-To: <2302928.ElGaqSPkdT@kreacher>
On Wed, 2023-08-09 at 22:28 +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> SOC_MAX_DTS_SENSORS is already defined in intel_soc_dts_iosf.h which
> is
> included in intel_soc_dts_iosf.c, so it does not need to be defined
> in
> the latter again.
>
> Drop the redundant definition of that symbol from
> intel_soc_dts_iosf.c.
>
> No intentional functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Srinivas Pandruvada<srinivas.pandruvada@linux.intel.com>
> ---
> drivers/thermal/intel/intel_soc_dts_iosf.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> Index: linux-pm/drivers/thermal/intel/intel_soc_dts_iosf.c
> ===================================================================
> --- linux-pm.orig/drivers/thermal/intel/intel_soc_dts_iosf.c
> +++ linux-pm/drivers/thermal/intel/intel_soc_dts_iosf.c
> @@ -40,9 +40,6 @@
> /* Mask for two trips in status bits */
> #define SOC_DTS_TRIP_MASK 0x03
>
> -/* DTS0 and DTS 1 */
> -#define SOC_MAX_DTS_SENSORS 2
> -
> static int sys_get_trip_temp(struct thermal_zone_device *tzd, int
> trip,
> int *temp)
> {
>
>
>
prev parent reply other threads:[~2023-08-10 16:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-09 20:25 [PATCH v1 0/2] thermal: intel: intel_soc_dts_iosf: Two cleanups Rafael J. Wysocki
2023-08-09 20:27 ` [PATCH v1 1/2] thermal: intel: intel_soc_dts_iosf: Always use 2 trips Rafael J. Wysocki
2023-08-10 16:53 ` srinivas pandruvada
2023-08-09 20:28 ` [PATCH v1 2/2] thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition Rafael J. Wysocki
2023-08-10 16:53 ` srinivas pandruvada [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8850e62411ecc0a3d77a647c6bfc51387bf293ee.camel@linux.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox