Received: by 10.192.165.148 with SMTP id m20csp1694333imm; Thu, 26 Apr 2018 00:27:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq61dp1yejLeHfA9v1MrOTM9ttoWL7eQlp27HG33ysr8FU+7cWvu5cWHI49h3pT8vPuvHyn X-Received: by 10.98.159.21 with SMTP id g21mr8028243pfe.207.1524727648587; Thu, 26 Apr 2018 00:27:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524727648; cv=none; d=google.com; s=arc-20160816; b=CuW57wTnd1HTqg6+05PCXR7LNIQA1sU8F7O9kH2pEEq9AndqRv19nz9dgf1U5FyaFU LyA897CKToiVPff1ZcTRYjv/BnnAtCeKyoa0ptKbexwoR4t/6mzDhnauyWW3whlV54zi v86akI3Zsu/HZkS044FyfW/0K+zM6/WElu3kbfJzjgC4/Vz60JSzmCKh1qzuSIZUs5xu 9arjnYHXTaJ1EBlUPNv8mKz44l9HgKJWBmLm5Cy/i6zH7uCBQgNxBkr+T0UbwUMe8S73 UtVrhTooC7VKDs8NiaUHOn4ADQ2GDNzWMfGVzNCZmdcEzVqZDnYkLD5+htRNHPBnTj7y gX0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=vRc1Rr19+XE+VIkaEffjuwW+srUj/PEx8ztdyfc39O0=; b=mPP/b01o24mifNGrP3cRw9piKhZ8dFfP45i+U38sF/PLCM7bg75ClaYf1Nw+2Zh5Ac +/fyrkBhkQaaAScKqSAyeTBmAzycfG3zRMsLFfxd3z1pmFVV27jFN+tcDGwj1u846s86 o7/khAGm+g06lyELsUH7FUTIgehY1Tx09HKo9pWRwW+dHIJ9Z9GdDbSIK0adlW+psclP z+QXF23PINIA04UYuoLugBxes6bGAc1EJveeXCjRnABEBz19LV1qsdXSu3x5CJO1Tqs3 /L1/AX8h21sPE3+PYN9hEoFkwCGfOBx2BOa/O/VRInWdxyUv0JzNXLQXiPs+8vlNFn3/ auvA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6-v6si18680696plo.534.2018.04.26.00.27.13; Thu, 26 Apr 2018 00:27:28 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754030AbeDZH0F (ORCPT + 99 others); Thu, 26 Apr 2018 03:26:05 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:58759 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753938AbeDZH0B (ORCPT ); Thu, 26 Apr 2018 03:26:01 -0400 Received: from mail-pf0-f200.google.com ([209.85.192.200]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1fBbHz-0000LH-VS for linux-kernel@vger.kernel.org; Thu, 26 Apr 2018 07:26:00 +0000 Received: by mail-pf0-f200.google.com with SMTP id n78so18008558pfj.4 for ; Thu, 26 Apr 2018 00:25:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vRc1Rr19+XE+VIkaEffjuwW+srUj/PEx8ztdyfc39O0=; b=JdwD5a80uTOKqJj49Z/lR9XIYcDDgCWTY0FaSMtJwWFHrbzEdsYwslTPmv0fmf0UpP R5vbjllhE28CrN0HUfWBMh88csOi9IDTvSQMOf2bdipMmVjFyzv/nmk/bbdz3MatMrxY b6fY6AQPukKB01AJ89jTkbF05Plwc63Rl7a/vIuZE3AyTkpsmaP0qtyDcL23H+IkXGqO s3WbWHLoNseA6ud1EkF0TYnl02RyXIv9QOtA12Vdk+byQPR2TJRC6lEQDOE97DrVS0Gj mtsayZNb5FPlqt2l6SYEtSKZVy1DJTEdTO7MX6WBE/WxeyoXyITL38iqy92Abc4n9w7Y GZGw== X-Gm-Message-State: ALQs6tANZxMxFzV1zY0YpRmzKBEI3xcgk/cb5tOK08nIf3vA4GjL8rb/ Q/DtzQ1oh0ThKQCHVG7w7M+3xozYt7emCq/R7Ab9g1SJSNlWyEiRgrst0qFDHU75rbUQDUcvOSv ViENRtxq8IOKqkFdKnusYRCiP4k8FyNaQScmFNLZ5vw== X-Received: by 10.99.117.2 with SMTP id q2mr26766700pgc.248.1524727558369; Thu, 26 Apr 2018 00:25:58 -0700 (PDT) X-Received: by 10.99.117.2 with SMTP id q2mr26766677pgc.248.1524727558014; Thu, 26 Apr 2018 00:25:58 -0700 (PDT) Received: from [10.101.46.95] ([175.41.48.77]) by smtp.gmail.com with ESMTPSA id k63sm15125945pfk.90.2018.04.26.00.25.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 00:25:57 -0700 (PDT) Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: [PATCH v4 1/3] dell-led: Change dell-led.h to dell-common.h From: Kai Heng Feng In-Reply-To: Date: Thu, 26 Apr 2018 15:25:53 +0800 Cc: mario.limonciello@dell.com, pali.rohar@gmail.com, andy@infradead.org, dvhart@infradead.org, mjg59@srcf.ucam.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <45CFE5AD-EA91-47B4-BF4E-846D7135A5FD@canonical.com> References: <20180420094432.13133-1-kai.heng.feng@canonical.com> To: Takashi Iwai X-Mailer: Apple Mail (2.3445.6.18) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Apr 25, 2018, at 12:26 AM, Takashi Iwai wrote: > > On Fri, 20 Apr 2018 11:44:30 +0200, > Kai-Heng Feng wrote: >> This header will be used for more than just led. Change it to a more >> generic name. >> >> Cc: Mario Limonciello >> Signed-off-by: Kai-Heng Feng > > BTW, wouldn't it be better postpone the rename? > Renaming a file in a cross-tree patchset makes harder to apply in > general. > You are right, I'll keep the original filename in next version. Kai-Heng > > thanks, > > Takashi > >> --- >> v4: Change the commit message to clarify there's no more runtime pm >> warning. >> Also skip the check for thunderbolt attached devices. >> >> v3: Simplify dell_switchable_gfx_is_enabled() by returning bool instead >> of error code. >> Use DMI_DEV_TYPE_OEM_STRING to match Dell System. >> >> v2: Mario suggested to squash the HDA part into the same series. >> >> drivers/platform/x86/dell-laptop.c | 2 +- >> include/linux/{dell-led.h => dell-common.h} | 4 ++-- >> sound/pci/hda/dell_wmi_helper.c | 2 +- >> 3 files changed, 4 insertions(+), 4 deletions(-) >> rename include/linux/{dell-led.h => dell-common.h} (61%) >> >> diff --git a/drivers/platform/x86/dell-laptop.c >> b/drivers/platform/x86/dell-laptop.c >> index c52c6723374b..8ba820e6c3d0 100644 >> --- a/drivers/platform/x86/dell-laptop.c >> +++ b/drivers/platform/x86/dell-laptop.c >> @@ -29,7 +29,7 @@ >> #include >> #include >> #include >> -#include >> +#include >> #include >> #include >> #include "dell-rbtn.h" >> diff --git a/include/linux/dell-led.h b/include/linux/dell-common.h >> similarity index 61% >> rename from include/linux/dell-led.h >> rename to include/linux/dell-common.h >> index 92521471517f..37e4b614dd74 100644 >> --- a/include/linux/dell-led.h >> +++ b/include/linux/dell-common.h >> @@ -1,6 +1,6 @@ >> /* SPDX-License-Identifier: GPL-2.0 */ >> -#ifndef __DELL_LED_H__ >> -#define __DELL_LED_H__ >> +#ifndef __DELL_COMMON_H__ >> +#define __DELL_COMMON_H__ >> >> int dell_micmute_led_set(int on); >> >> diff --git a/sound/pci/hda/dell_wmi_helper.c >> b/sound/pci/hda/dell_wmi_helper.c >> index 1b48a8c19d28..56050cc3c0ee 100644 >> --- a/sound/pci/hda/dell_wmi_helper.c >> +++ b/sound/pci/hda/dell_wmi_helper.c >> @@ -4,7 +4,7 @@ >> */ >> >> #if IS_ENABLED(CONFIG_DELL_LAPTOP) >> -#include >> +#include >> >> enum { >> MICMUTE_LED_ON, >> -- >> 2.17.0