Received: by 10.223.176.5 with SMTP id f5csp1611470wra; Wed, 31 Jan 2018 08:55:06 -0800 (PST) X-Google-Smtp-Source: AH8x226J4ojh0tPtnIR6cjz2AbXvw6UD2TxBv/6l5bA2t/1oV0UXrvFh0BgkR4u1LPYnY/mxtSmc X-Received: by 10.98.163.79 with SMTP id s76mr34593745pfe.67.1517417706714; Wed, 31 Jan 2018 08:55:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517417706; cv=none; d=google.com; s=arc-20160816; b=v0YzymkubHI3mBtApBN7oK5dnKR6uJowMAVNw6TNnxGRP8VQebn9mdGidcKnoT7kn8 DLL5fTQlhOzRQABEjaqX4ER4L/lNcl4SeZKbXMuG19CZ6tqKBNaIslW+WeftQpdvpcZN ijFJAUNU/bi1+gMDBImLv4kI4SwEaDD2IP1Nwqcerhx96lEtlkernGqMsszFrJ0h9lAu xrfxSvj0nhfdPG0ktqTi9bvvKybYKl7JHxs+GHLbZ10Hd9vIpQg7fSa2vS8gXjs4ulVZ TqR4e2u+KJL8jldbp9coyXL6Q6cCRGUO0CKS5+waXJJQAWIPnx2ZpMrQWzHj1jjTQNW4 hG8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=i6Rx7qx0dCfUAfkXpKJd7JB99zxATp/QwLlR+Kk44FA=; b=0qk0Ih2gIlUUkQgKr5U4rBmDj5gnjGNwtMcbmoEU4vsYmcUtIdwHvnqfgUWamTUXSP aVdY+O1GbamblK6czXb29g+QtpSjakpJfn8PW50uWvggJ9PIJ6npCqMHEZnpDE1e/LIP 1J1ZVTf2vyLUZuX4tf8YgSV+VPr5LPZcmnO/e1qcRCXU37zRggKCjWEL4JsU7INqiF6X jSlHSdFK6+fepi3oN4xHjOiMM0y11/ttpF0L7GsRTA4SaByEZfsMW4il3YRe6RifzbA8 Ffwf5FTeyPDw0tc+lS8sJu5KxFhLgXUWWf/RCC+xotJsQALJpdlOILIo+SVuK8S9iFK0 lptA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BN0p4L4y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d74si4885779pfj.265.2018.01.31.08.54.51; Wed, 31 Jan 2018 08:55:06 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BN0p4L4y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752923AbeAaQy1 (ORCPT + 99 others); Wed, 31 Jan 2018 11:54:27 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:44621 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbeAaQyZ (ORCPT ); Wed, 31 Jan 2018 11:54:25 -0500 Received: by mail-qk0-f195.google.com with SMTP id n188so4211550qkn.11; Wed, 31 Jan 2018 08:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i6Rx7qx0dCfUAfkXpKJd7JB99zxATp/QwLlR+Kk44FA=; b=BN0p4L4ybpv4/JkjE5d59sLvW6gkEW1ogtocTPgFuttCloLIubNw9KhzUTLEWYkUOL 8OyAdw5Jez/5GWErlrpUUuSI0Rv0PHlXe+V6yGOdq8aVFsSacMVM6Ope3WHJPzQCrH+b GIV2Oz0U2TSj+JX4vq40PbxzJXbbnqHyCJWDN4gZObZ3360544L1pKSfm+cJKgpkFs0e QDsU5O68BBwbZd0SjWN8uUTE9x6gTJPYm0zZrB5eWNRJTSSyMak/odLNkJrTz3FdXn2c vyUELLKm+CxE8QkYYrrgdwHKqUllWMByjpGmITT/9QEDrElQ75Y3tA07xdViiQfq/KTF NVfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i6Rx7qx0dCfUAfkXpKJd7JB99zxATp/QwLlR+Kk44FA=; b=YV3V1WAmYcJHBeInb/tAZcN5mjXLIy/8jM4qclkXlGfByOT5BO9OqsHs+fw6S8TqtC l88uWcVEubwPvPwrVrc4YvD40Ze3ARh0BikVWsTsYVHaKuLs3chGgSfKnf8wKN+xwsbr x+5N1VKob+wXpFjiSo5K8wt+L7Z5szMyQ5maOqxNKD87pSidIjhea6rWF4nu34I10tTp BcQPvHnLyVZ9rr918OXaNXqwlkHNR28vwFWdhmp1YcM1YJHveojdvcR4+A1Vpw8wHMaG W//qYydN6tEfbHTnsvI8FQctoFcBl274Zlsj0cvdgtwaVk9k4IlCb4HfpikYxW8qEYhA lCcw== X-Gm-Message-State: AKwxytckRpPHEozfPeQOTzoQTk/Ul97F/vC91LWJfCZbTw5gjwQSlmYu FnB9CU6QzHf7hurVd21OjSjEYjRUIPDiKGMSQFM= X-Received: by 10.55.180.65 with SMTP id d62mr23312526qkf.242.1517417664862; Wed, 31 Jan 2018 08:54:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Wed, 31 Jan 2018 08:54:24 -0800 (PST) In-Reply-To: <1517379622-1142-1-git-send-email-rajneesh.bhardwaj@intel.com> References: <1517379622-1142-1-git-send-email-rajneesh.bhardwaj@intel.com> From: Andy Shevchenko Date: Wed, 31 Jan 2018 18:54:24 +0200 Message-ID: Subject: Re: [PATCH] platform/x86: intel_pmc_core: Remove unused header file To: Rajneesh Bhardwaj Cc: Platform Driver , Darren Hart , Andy Shevchenko , Linux Kernel Mailing List , Vishwanath Somayaji Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 31, 2018 at 8:20 AM, Rajneesh Bhardwaj wrote: > 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. Pushed to my review and testing queue, thanks! > > 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 > -- With Best Regards, Andy Shevchenko