Message ID | 20201030060214.780883-19-acelan.kao@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=e4CHKWsk; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CMsDq22nyz9sSn; Fri, 30 Oct 2020 17:03:23 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1kYNVM-0007yi-L5; Fri, 30 Oct 2020 06:03:16 +0000 Received: from mail-pf1-f193.google.com ([209.85.210.193]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <acelan@gmail.com>) id 1kYNVG-0007qK-K5 for kernel-team@lists.ubuntu.com; Fri, 30 Oct 2020 06:03:10 +0000 Received: by mail-pf1-f193.google.com with SMTP id x13so4330845pfa.9 for <kernel-team@lists.ubuntu.com>; Thu, 29 Oct 2020 23:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sx8s68xsPqXJbtSlmhmcw8xaar99vqVyW1UMnZIYVTM=; b=e4CHKWskwECGWrU9e6xgJZaKxcpfCaulp6AnzpMTU37RrczmsUCz7qSZu+9lu9vTCQ 1u8dw/nYGxj0H6ZvwFd2agmg7HykUGGEHHjMcM+6ga4VDeedlJ0SJPIYZUEWxOkU7QOU sxW+9Q6SZFxLEpYS2lGU5rpzww7cxmewMEIpwUwgUa5UrIO8FqaCK7PGGj5ZECVJuEZw mkB5jC8zb+XM4ZEwDAY8UiESUdHjCvFPahcUDDwB0MoLrAXNNX09hd4db9tgpTysj2Qd 8OtHuMTVS+KMkp8PJDBpDPh4rk8pOrlkwsAl48U7rdwTCalmBRLMJI0KE1az0spp6g28 RK2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=sx8s68xsPqXJbtSlmhmcw8xaar99vqVyW1UMnZIYVTM=; b=hcHOEANOf9BOqDCjbfzJw04+yfbcNsqGXxZ9tvGmwjP+HqfsJkizmA6GhtolqQyHlX atxFk8eYHpDdtPK/xvcCmGfbm+h8bPoqo9ovKSs1rq/PlbBT+6Y20UZyQPqcFHFEhwZz v/nKn+LjMTBzW+QCd/M4Dsl3aqOcTsx8NyqbYoMnpHKOK18tfx3mlCIJSjpxspvyhf8E GcfpYzI8TPBy58Ihe2X5oPPEfZ6BZuka9o+JQmHiIaGAidJDIbLV+8vwaM0ig4TYTwl6 7BTJtcVhZZ/dnAY/ISMsGC8oDatVbSL89J44eXt8iTBdKUL6LaG08vC8DQ8krT3LJ6MJ esEA== X-Gm-Message-State: AOAM533wJFml0XT/z7cFX29ecwzz7p9zW9+eCMUBNsxh9RuyaTlPm0K5 l0C29titinfVr9JF8Bi/9/clB/wi/pDxhQ== X-Google-Smtp-Source: ABdhPJzsPTkTm+tQRBi7aZyb+SqBP0v5QdF3mIG+RqISArIxwLmaK86XVn1tm5lQSo6qLK4VwK5UHg== X-Received: by 2002:a17:90a:ae16:: with SMTP id t22mr905077pjq.55.1604037784110; Thu, 29 Oct 2020 23:03:04 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id w66sm4583867pgb.63.2020.10.29.23.03.03 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 23:03:03 -0700 (PDT) From: AceLan Kao <acelan.kao@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 13/23][SRU][OEM-5.6] platform/x86: intel_pmc_core: Remove duplicate 'if' to create debugfs entry Date: Fri, 30 Oct 2020 14:02:04 +0800 Message-Id: <20201030060214.780883-19-acelan.kao@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201030060214.780883-1-acelan.kao@canonical.com> References: <20201030060214.780883-1-acelan.kao@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.210.193; envelope-from=acelan@gmail.com; helo=mail-pf1-f193.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Tiger Lake PMC core driver fixes
|
expand
|
diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c index 0bb730a47c67..648db31fa1b9 100644 --- a/drivers/platform/x86/intel_pmc_core.c +++ b/drivers/platform/x86/intel_pmc_core.c @@ -1108,9 +1108,6 @@ static void pmc_core_dbgfs_register(struct pmc_dev *pmcdev) debugfs_create_file("substate_status_registers", 0444, pmcdev->dbgfs_dir, pmcdev, &pmc_core_substate_sts_regs_fops); - } - - if (pmcdev->map->lpm_status_offset) { debugfs_create_file("substate_live_status_registers", 0444, pmcdev->dbgfs_dir, pmcdev, &pmc_core_substate_l_sts_regs_fops);