Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp706456pxb; Mon, 8 Nov 2021 21:50:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJziiHm4GCfhJEfsMs8US5ZeD9FAav3/RVdY4+qiVn2yDrc5LffLt1ZSJPjb4ympcJOyZImm X-Received: by 2002:a05:6e02:154f:: with SMTP id j15mr3451329ilu.209.1636437003387; Mon, 08 Nov 2021 21:50:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636437003; cv=pass; d=google.com; s=arc-20160816; b=NkAzU1Myx0ZF7cvM2vYoRM6BeUpQsB2fikBGYFeKuGVUGp2L/fcuCnCdgo+UzULUF0 nR6EiA/fqwT3J3WrWmcpIkDTuzoYcHuzoKLCZwZAFfsjM+94CaFbMGa9tq135SNEBlyj QEcKK4/kAh8DkWfhV2Vd2mvXrYOQEYIix5JbmF2c09Tureb+ZEskI0qh2Gq6OfOvOt7a UDdoF4IvcjIvrSSVPrRTNjsW99KfWn/cc0S6PS9Sd0OFlA713UkW0ZnUB7ayoiCaJPXe EF0Cg1tzY9r7nhAeTAUvWwibE6wTggDX/kDjetHvsfR/zZ7PUK0oC+aCxUeh+e/xDoqa yxDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature; bh=HcwJe37vXM01ovdSSqBC2LqkFpsfh2N6LkhxZLdSMYA=; b=IpKukhVtw497G5Jgkfg1DE951ZqIpMTmTz55YQnUsN+9Z4Gh1LQUbeo3ixwiz4jVQz rrS4beEKLPghRfYp6jqe/S/8UgAwcUy1odbNpzHRXlR+J/rTWRzeyZCjS8AYucNsr87d u7s7ip4wMLfBrY/4nU8zUInBpRPBzenQxbNfv/QmEtI/HPhQIPSUwsM6yQog2Q4Fln2Q iLDEu3mUuBcS9C9YhPdhTPvAzGdmVvhTIFGxxdXYYDFi/dyHaV7nfwB9RFUnnDB/wChQ JzvQjUv4g2aZOA06JkVyyS8jNzmRTTz8aZ0TopDLykpPc6nxK7nISSKYFLfCv5XNSHnv 9nSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=zcyGERZO; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n17si30127939ilt.86.2021.11.08.21.49.50; Mon, 08 Nov 2021 21:50:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=zcyGERZO; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240662AbhKHVyT (ORCPT + 99 others); Mon, 8 Nov 2021 16:54:19 -0500 Received: from mail-dm3nam07on2087.outbound.protection.outlook.com ([40.107.95.87]:26496 "EHLO NAM02-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240622AbhKHVyS (ORCPT ); Mon, 8 Nov 2021 16:54:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ntGjJOXQ9IfMIPLkTw8h8f9VAaohAc2U5L8xqE3AAHuILz5eVgeiK6dFl5WEdIysyaUQtgUrzwTPLZMSiryALzWpa43RBQCDG5cRD+ugBGZpRel68MKD/sCYJKa6L77Prysbr1RSbfkxkVLxO1Qi/DQQKLb3X4uHjRiBTewOmPPxE8suNAqiBB5wjfXjqXDJyb941RmOPlfFf2ILyJ0qv1aTJ0wR85bjRrF8VVuh746404cGQ5Oj9ODqqV76XnUofTeDmw1XG7E2beJl2IZPUWKLGRPBMuZRhgnH+fdRjwYlsh37wqJ5nImIWikz1IO6lEczGkkOJcnwWokyRALpTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HcwJe37vXM01ovdSSqBC2LqkFpsfh2N6LkhxZLdSMYA=; b=D/LOj2Ok3DWAq2eMBBJ0FoPf7XYB3p2OouY+pVLfw0jLAKoQeRXRHT+m8EgLp+vfkso/mwp4n43dkwWwzEvqlV+yppGl1VNng/AjTZYuV1OvisjnSswNH650ywFSJU6c9XiW6QoWmy/WO1e6JGnz3TSVpEwreBjNs3BQrTNFvioajEmDvWAxKGHz2+2xeMBAihgVo+UttKK+tBrmy9cSBN5raAP3BUaEkNGlcqbg7BBAMTRpOs9HFwZlmESjjsPBKtVjBgWlYEoPHRxWs3XRPymELd2RFG7p+XGiUlEyGjZxNRNigpcG25yzaACvhKCjjAcHasdEM6EQd1sXXXNo9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HcwJe37vXM01ovdSSqBC2LqkFpsfh2N6LkhxZLdSMYA=; b=zcyGERZOTT6V2vaY17Ytb5Phn6DU2yRbeRq04K+hw+flgVNU4Y6Y8X2MgKKDmkT4NqKhuYvs+cd1fJ9KUNU5MtYNBWhNwqE8ovZcCLCRquctFOaW8I/8MbWzY92E1L0XD1CFzjZHyojB96UqFF99LLgOrluW36pKCe5wDjpq9g0= Received: from MWHPR11CA0025.namprd11.prod.outlook.com (2603:10b6:300:115::11) by BN9PR12MB5306.namprd12.prod.outlook.com (2603:10b6:408:103::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Mon, 8 Nov 2021 21:51:30 +0000 Received: from CO1NAM11FT068.eop-nam11.prod.protection.outlook.com (2603:10b6:300:115:cafe::b6) by MWHPR11CA0025.outlook.office365.com (2603:10b6:300:115::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Mon, 8 Nov 2021 21:51:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT068.mail.protection.outlook.com (10.13.175.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 21:51:30 +0000 Received: from [127.0.1.1] (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 8 Nov 2021 15:51:28 -0600 Subject: [PATCH 2/3] hwmon: (k10temp) Remove unused definitions From: Babu Moger To: , , , , , , , , , CC: , , , Date: Mon, 8 Nov 2021 15:51:27 -0600 Message-ID: <163640828776.955062.15863375803675701204.stgit@bmoger-ubuntu> In-Reply-To: <163640820320.955062.9967043475152157959.stgit@bmoger-ubuntu> References: <163640820320.955062.9967043475152157959.stgit@bmoger-ubuntu> User-Agent: StGit/1.1.dev103+g5369f4c MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 727b0057-6155-47f7-4986-08d9a301ec28 X-MS-TrafficTypeDiagnostic: BN9PR12MB5306: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:262; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Qrp75MpMdklErfl0Ll4T7F855o1OqaQBfZZznDWhEN1Xe6WwQZVNeLPIIYWOqgOanREAfjFaqdszEgIgRoyOnEQQPUobDqGGvy6y2d9L4fpth0nI2jQ/AuBZmMfDHBbHss/Z5gOcIzzDYVjv05IdhIt7UW9J6oTDn0aKwNpYOeRxVhxB5Yk0pIcqE0VajiF8bp9s041jv9KinKKEwgo9p7OEK/MtJIKKp0x14W0x651umvmL0szCK+sHff3YOSMZyNObDJ2MHs0TSJAITuduqa22AMslYzhO8NP/UUzCdQo6yEFHgksNm7dpWcOBnm/CyBT4qXFcIjQ5YuOhTf614w5n5rr7Q+YiQalDClJz+Cnm0s3tSKRG/pnqRlhVr7mvF1aOZC/GVZPmigpAHF3KCSKyU7W4pnh8tFwFtxBWY0tYw77DJGNLD7seOg4QYtT+weQsma3PE9bdCuCquARPIs81DVsGMrOKKO5feGNqOuTZAqQvpzZAOpzxgqLvPCnr6M9Xy09Pk8YT6l5bRt1h6ur2wLKiAHC+1GpWBouQTpkZWCzoFf5bnYT6UoZg/ZPNDBDGF2EvAVD5Rn7fBiPqmeIqRwmkVQ0suC8Eph5Ej6egf0M038nBnUa9EPiV+vtlNPpWO7UstlXgKxjUToTMM2RKuiJf2lj2j61IoUdlviG6OEd81UQ2kcX6OdF+i8XqI6PL1CB1Gl7E4F9a82vtHm+TXkf4u8j3eYXshQSaW6GnBLdnpIngtY35mGcqVCO5XNSo9RN/Zr4bjQgfFJI9RQ== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(7916004)(46966006)(36840700001)(36860700001)(33716001)(356005)(336012)(26005)(508600001)(8676002)(16576012)(9686003)(110136005)(426003)(54906003)(8936002)(186003)(16526019)(103116003)(2906002)(4326008)(316002)(921005)(81166007)(83380400001)(47076005)(82310400003)(70206006)(86362001)(7416002)(70586007)(44832011)(5660300002)(71626007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 21:51:30.0414 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 727b0057-6155-47f7-4986-08d9a301ec28 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT068.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5306 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Usage of these definitions were removed after the commit 0a4e668b5d52=0A= ("hwmon: (k10temp) Remove support for displaying voltage and current on Zen= CPUs").=0A= So, cleanup them up.=0A= =0A= Signed-off-by: Babu Moger =0A= ---=0A= drivers/hwmon/k10temp.c | 20 --------------------=0A= 1 file changed, 20 deletions(-)=0A= =0A= diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c=0A= index 3618a924e78e..662bad7ed0a2 100644=0A= --- a/drivers/hwmon/k10temp.c=0A= +++ b/drivers/hwmon/k10temp.c=0A= @@ -76,26 +76,6 @@ static DEFINE_MUTEX(nb_smu_ind_mutex);=0A= #define ZEN_CUR_TEMP_SHIFT 21=0A= #define ZEN_CUR_TEMP_RANGE_SEL_MASK BIT(19)=0A= =0A= -#define ZEN_SVI_BASE 0x0005A000=0A= -=0A= -/* F17h thermal registers through SMN */=0A= -#define F17H_M01H_SVI_TEL_PLANE0 (ZEN_SVI_BASE + 0xc)=0A= -#define F17H_M01H_SVI_TEL_PLANE1 (ZEN_SVI_BASE + 0x10)=0A= -#define F17H_M31H_SVI_TEL_PLANE0 (ZEN_SVI_BASE + 0x14)=0A= -#define F17H_M31H_SVI_TEL_PLANE1 (ZEN_SVI_BASE + 0x10)=0A= -=0A= -#define F17H_M01H_CFACTOR_ICORE 1000000 /* 1A / LSB */=0A= -#define F17H_M01H_CFACTOR_ISOC 250000 /* 0.25A / LSB */=0A= -#define F17H_M31H_CFACTOR_ICORE 1000000 /* 1A / LSB */=0A= -#define F17H_M31H_CFACTOR_ISOC 310000 /* 0.31A / LSB */=0A= -=0A= -/* F19h thermal registers through SMN */=0A= -#define F19H_M01_SVI_TEL_PLANE0 (ZEN_SVI_BASE + 0x14)=0A= -#define F19H_M01_SVI_TEL_PLANE1 (ZEN_SVI_BASE + 0x10)=0A= -=0A= -#define F19H_M01H_CFACTOR_ICORE 1000000 /* 1A / LSB */=0A= -#define F19H_M01H_CFACTOR_ISOC 310000 /* 0.31A / LSB */=0A= -=0A= struct k10temp_data {=0A= struct pci_dev *pdev;=0A= void (*read_htcreg)(struct pci_dev *pdev, u32 *regval);=0A= =0A=