Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp264101rwl; Wed, 9 Aug 2023 14:16:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbi0re1Zhv+1XBLWFxDfjzGPu8a7PMu459wWIlt9p1qVnOIcKvVIZK4RvIEiFj+x3jsPzE X-Received: by 2002:a2e:7c0a:0:b0:2b9:ef0a:7d40 with SMTP id x10-20020a2e7c0a000000b002b9ef0a7d40mr299914ljc.41.1691615815135; Wed, 09 Aug 2023 14:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691615815; cv=none; d=google.com; s=arc-20160816; b=yk7p2W73yuKF/0GPSxQevFX/g6v4/qTK6yayYe0USxWtQfr8G7ktvK/A3sKeHWULX4 oklUk96ETwxksYM5aYvmTAeEjak0ihP7JFfIsMaGqm/FvzGMpMghvkKuzfE6NFfoL01y +ntHCXZvrTrNCMc3jyFG7Oe1LGcQkUUi5W5IcSGsSbQBZtdePWT8pAVTajN0ejHPT6JA g31pb3DD1sWzptO4WbERP0/lW0PJFixhKiUG4dMc8fE9lthU6GSG9Bh7Kq7vdTFC7o0E rFNqReiMBWcRr6RuK3X6E6T2vXroZg9GhFNN/LxWbs4FfuXg60HKMHWkSTTy2GyJNrUk YJPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1s1z0Kh54MTCyJRJMScpOP0kVHU3RXF1B5bpeuZXAxE=; fh=aK1D4KsZYozI75a+KCLuU03FxwQ8tTCKnM2T8GQ5ByU=; b=cOCkYvvz6uyXLP3EfatKM0OqGqWbqNjgcNxlbWXuilE84aPRrDyfL3PQyPHsdsDRtE X0ID2MdpkhtD3ic+w8LAAWjYmRfRA/UZCspeHYLehT3HQvK26ZzGlh+Vn/875Nrkx6+Q M5LSVIgnC9EH49acbIo6XysBSJ56EdPykMCX0ye9mS4FKqQaHPY+ND8wkH/NbYFcwaNR Fzno43/bOYckhB+zf/st/0dM8WedzO2MiPFIhEuQETUB7ZFD69k3apjP/46OM4DN6C8R V6rkLFYHOPQv3lazxrDlecGUvZAtHE79lkOoJmSjU0LYk2DIPjmSaQ5kF1Ap9MHIu7Y/ q/Cg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a17090619c900b00988e963c3adsi31395ejd.755.2023.08.09.14.16.30; Wed, 09 Aug 2023 14:16:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231267AbjHIU2Y (ORCPT + 99 others); Wed, 9 Aug 2023 16:28:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbjHIU2X (ORCPT ); Wed, 9 Aug 2023 16:28:23 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 283FD1702; Wed, 9 Aug 2023 13:28:22 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id 9f5fcb3ea6c65173; Wed, 9 Aug 2023 22:28:21 +0200 Authentication-Results: v370.home.net.pl; spf=softfail (domain owner discourages use of this host) smtp.mailfrom=rjwysocki.net (client-ip=195.136.19.94; helo=[195.136.19.94]; envelope-from=rjw@rjwysocki.net; receiver=) Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id A13366625DB; Wed, 9 Aug 2023 22:28:20 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Srinivas Pandruvada , Zhang Rui , Daniel Lezcano Subject: [PATCH v1 2/2] thermal: intel: intel_soc_dts_iosf: Drop redundant symbol definition Date: Wed, 09 Aug 2023 22:28:12 +0200 Message-ID: <2302928.ElGaqSPkdT@kreacher> In-Reply-To: <12271935.O9o76ZdvQC@kreacher> References: <12271935.O9o76ZdvQC@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrleeggddugeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepvdffueeitdfgvddtudegueejtdffteetgeefkeffvdeftddttdeuhfegfedvjefhnecukfhppeduleehrddufeeirdduledrleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelhedrudefiedrudelrdelgedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohephedprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehsrhhinhhivhgrshdrphgrnhgurhhuvhgruggrsehlihhnuhigrdhinhhtvghlrdgtohhmpdhrtghpthhtoheprhhuihdriihhrghnghesihhnthgvlhdrtghomhdp rhgtphhtthhopegurghnihgvlhdrlhgviigtrghnoheslhhinhgrrhhordhorhhg X-DCC--Metrics: v370.home.net.pl 1024; Body=5 Fuz1=5 Fuz2=5 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 From: Rafael J. Wysocki 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 --- 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) {