Received: by 2002:ac8:5491:0:b0:40f:fb00:664b with SMTP id h17csp642035qtq; Thu, 10 Aug 2023 11:24:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGh9T31wX7bKmPtNHMuDWvMYqwgXWi6SM2EFDRQB21VzcghnpPHtQwxJXLtoTCKxieQoi71 X-Received: by 2002:a05:6a00:130b:b0:686:2668:796f with SMTP id j11-20020a056a00130b00b006862668796fmr3816786pfu.32.1691691844319; Thu, 10 Aug 2023 11:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691691844; cv=none; d=google.com; s=arc-20160816; b=cSxqHyhkPhGqljogkQGwE+TzOFiEJhEWV8iVh227n4WkafF3tGrmG9ILLUwWfTPSMM XpAYYdY+uI1pwrVxo/fCSfXRTbuVi/9BnfsVg/+5R8TkkBxh1lSSRzaYXcw9whIoQJ6g CsJ5KbrypbAsxi3rDimJfGvRunVHtSiN5xNmvtYN5vjLbeP4uP9hGwJ/o/8SWlsTKpr5 31Z//7BXni1U6FT6znfL2AbVxh6DZSAXmQXlmOzZYsygUz+addtPEili4kbyrYc18GIE rQXELYxBveM3YFZf6Vi26x7cbtD1n7ISySXsfeDTN1zqOXt9xYas1rD8z9hPwivyyTno C/6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=xBjyT0h78kvMYExk+Cmw0+IryrvAY/AsM4xmx7phi5Y=; fh=uEac64aeaNwsBFgGZbDR9qOcxalrjUl1ULYky3+Vvk8=; b=nWeqk/VJ9PxMpIkVOb8/YsMB1WlwdkUCL0VfnwSpti0nZek5KJAjBCYYKQHjMm1uaK raF7SJiyo6Lw+eXbFa+e1PxYWg8ey1TDoZCAizgJGC6iNiz3wBSU9wtpc14N861pj7r1 CxNAIlqtPcKhgwkMeAvtiu705z5sxGv7aQyFjVEnVbolpyAKYFaGaULzO4tzKZhzoKVD iEzxm94576jWjMmrZ7IPFF3lAsPTCkQ8n41ofMy3B8oqKpTQl5AO1q8JATiJe/ZPVqNR V4N2BaN1EEpzQ4LbbcN2sOuyWclaBj7hSHG/kCFTXkKfeYhdTx/V7H5Izi8LZ78ZsU1P u0bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A69bNvue; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a056a00150c00b00659af029c39si2021271pfu.90.2023.08.10.11.23.50; Thu, 10 Aug 2023 11:24:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A69bNvue; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234965AbjHJQxd (ORCPT + 99 others); Thu, 10 Aug 2023 12:53:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjHJQxc (ORCPT ); Thu, 10 Aug 2023 12:53:32 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A46691BD9; Thu, 10 Aug 2023 09:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691686412; x=1723222412; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=xBjyT0h78kvMYExk+Cmw0+IryrvAY/AsM4xmx7phi5Y=; b=A69bNvuec15pjqQGakRVHmyaOlEqzn0+Yy3WL+r+BaS8wu5fTk+PFyiR ReGpV3F7Unz2E1LamFgpreTBDwiiC6H7cRJ0POlKJIXoE4Fm+KCgmWRYV AyLzc3PQvqfz4YLc3HOPP22gZq2daneUusN5gSzY8X2265Kug1VJFgG3f ZP44fGb0yIWHYg/9lx0k54jRFkffvMj5Yd18JJrgZ3rKB4muYmIn6IQqn Gcr3X4ibrMrtuthlkiCODVf+cUFTHNLbHSBnGbvB4lWFULugZj/FR2B/7 SNY7Q/KLyVU+2jY/7OeIUsE+d9hrAZYGSaOK91xSy2CpVIE5ivMqVFqkv g==; X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="402436911" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="402436911" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2023 09:53:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="761859431" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="761859431" Received: from spandruv-desk1.amr.corp.intel.com ([10.212.254.181]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2023 09:53:23 -0700 Message-ID: <8850e62411ecc0a3d77a647c6bfc51387bf293ee.camel@linux.intel.com> Subject: Re: [PATCH v1 2/2] thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition From: srinivas pandruvada To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Zhang Rui , Daniel Lezcano Date: Thu, 10 Aug 2023 09:53:23 -0700 In-Reply-To: <2302928.ElGaqSPkdT@kreacher> References: <12271935.O9o76ZdvQC@kreacher> <2302928.ElGaqSPkdT@kreacher> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2023-08-09 at 22:28 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki >=20 > 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. >=20 > Drop the redundant definition of that symbol from > intel_soc_dts_iosf.c. >=20 > No intentional functional impact. >=20 > Signed-off-by: Rafael J. Wysocki Reviewed-by: Srinivas Pandruvada > --- > =C2=A0drivers/thermal/intel/intel_soc_dts_iosf.c |=C2=A0=C2=A0=C2=A0 3 --= - > =C2=A01 file changed, 3 deletions(-) >=20 > Index: linux-pm/drivers/thermal/intel/intel_soc_dts_iosf.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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 @@ > =C2=A0/* Mask for two trips in status bits */ > =C2=A0#define SOC_DTS_TRIP_MASK=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x03 > =C2=A0 > -/* DTS0 and DTS 1 */ > -#define SOC_MAX_DTS_SENSORS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A02 > - > =C2=A0static int sys_get_trip_temp(struct thermal_zone_device *tzd, int > trip, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 int *temp) > =C2=A0{ >=20 >=20 >=20