Received: by 10.223.176.5 with SMTP id f5csp968387wra; Tue, 30 Jan 2018 22:52:40 -0800 (PST) X-Google-Smtp-Source: AH8x224VJwRr61W5cKvAni1YeW59oO5HeLXsCsvv3TEuMnUo/nLVEsG73Sk2/7ZbPQCSQGKlXD27 X-Received: by 10.101.76.75 with SMTP id l11mr25343805pgr.224.1517381560479; Tue, 30 Jan 2018 22:52:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517381560; cv=none; d=google.com; s=arc-20160816; b=srXatPFD21BFYLlaczNa68UN1dEcXYIfoYbTZhJMxOLMetfY3lCNqQ8lUROh5UCrgv pBFF8jiDf1a+YxS7gHb9aj8BgTFLb6gL/It65SLPHHfiwdtEiCclzcZiv/8kK2NpicTV YvTsuKKCl+r+dzKIaAixLLCvvuBdwbVM1mIF0skCxdmx7TlxFujjNNgG0BFYq6Z82Xv+ Qki9SFxiu59/54BmzL0Dq+3BdbZn9xMBSya6E4cxZIJK8OXFuCCuDpsHRwqxv0eM4rmJ WKAw+hqBOcvll9kq4hZuQaY6H6xWOVMvetAL+WEwluVTfwXO0ilsv6c6K+ShsMKfGCRz JzFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=jLSPweEjpI5OO4TrV6hW01PwZRIhfCxGBxzAKarT6Ko=; b=rGaiPaqhglQ41qLv2yW7EYDVy/4vYJrCIR6vrBfaigmNZHlH1BrrU06NHLfYNCELhH QEes59SwU9JPWeInahEpVghQb9tId7leHsb+2b/AdhHTd/dMswbBLKNwQqIdsa0KJ5+O xzoOAOjC/R/PnfjxS/10kR0JxbMQbsVW/ukNsJNI1avI8IaTmzd/0gdvj4GgcoI8GB9z kaMyXHbgbQYpHfyxww/PgfixmG6THhXCJCXEba2cHVjNG5vuqXTIeSLBW58HR26tf+Ki iliZXwQsfAlDzoTQt96/RUXGfZDHkFR/WoorYGsRQcsankUTmufA51Rw16YYP9wafPi8 rfmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m70si1266941pfk.201.2018.01.30.22.52.26; Tue, 30 Jan 2018 22:52:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752416AbeAaGZm (ORCPT + 99 others); Wed, 31 Jan 2018 01:25:42 -0500 Received: from mga18.intel.com ([134.134.136.126]:44964 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751772AbeAaGZk (ORCPT ); Wed, 31 Jan 2018 01:25:40 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2018 22:25:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,438,1511856000"; d="scan'208";a="14347578" Received: from raj-desk2.iind.intel.com ([10.223.107.30]) by orsmga008.jf.intel.com with ESMTP; 30 Jan 2018 22:25:37 -0800 From: Rajneesh Bhardwaj To: platform-driver-x86@vger.kernel.org Cc: dvhart@infradead.org, andy@infradead.org, linux-kernel@vger.kernel.org, vishwanath.somayaji@intel.com, Rajneesh Bhardwaj Subject: [PATCH] platform/x86: intel_pmc_core: Remove unused header file Date: Wed, 31 Jan 2018 11:50:22 +0530 Message-Id: <1517379622-1142-1-git-send-email-rajneesh.bhardwaj@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Recently sent patch 'platform/x86: intel_pmc_core: Remove unused EXPORTED API' missed to remove the header file 'arch/x86/include/asm/pmc_core.h' which was solely used to declare the EXPORTED API 'intel_pmc_slp_s0_counter_read'. This patch provides the errata fix for the same. Signed-off-by: Rajneesh Bhardwaj --- arch/x86/include/asm/pmc_core.h | 27 --------------------------- drivers/platform/x86/intel_pmc_core.c | 1 - 2 files changed, 28 deletions(-) delete mode 100644 arch/x86/include/asm/pmc_core.h diff --git a/arch/x86/include/asm/pmc_core.h b/arch/x86/include/asm/pmc_core.h deleted file mode 100644 index d4855f11136d..000000000000 --- a/arch/x86/include/asm/pmc_core.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Intel Core SoC Power Management Controller Header File - * - * Copyright (c) 2016, Intel Corporation. - * All Rights Reserved. - * - * Authors: Rajneesh Bhardwaj - * Vishwanath Somayaji - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - */ - -#ifndef _ASM_PMC_CORE_H -#define _ASM_PMC_CORE_H - -/* API to read SLP_S0_RESIDENCY counter */ -int intel_pmc_slp_s0_counter_read(u32 *data); - -#endif /* _ASM_PMC_CORE_H */ diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c index 67e85ee4ab32..180c65fed55a 100644 --- a/drivers/platform/x86/intel_pmc_core.c +++ b/drivers/platform/x86/intel_pmc_core.c @@ -30,7 +30,6 @@ #include #include -#include #include "intel_pmc_core.h" -- 2.7.4