Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3606617ybl; Mon, 3 Feb 2020 03:23:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzt6Ct/XnTECEcuZQHtmiW7uQadL3bHOzCvyoqEDkBF25iVqH5buyGF+LvSWuq5+DyZKcu0 X-Received: by 2002:aca:ab52:: with SMTP id u79mr13518944oie.145.1580729014322; Mon, 03 Feb 2020 03:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580729014; cv=none; d=google.com; s=arc-20160816; b=LckRlXpqfV/KCEPjGvoJBAm64RBdNRvIhPaoNjkVVXqb9OE2D2F7hGmKxIaDnjjCDJ bc5BmN0OPdu1NezYhS/o1pc1Y7NYAmqsUbajiJfH5odBEoM1xkha1WTrpaYyf6FQdf4B rALdStsx2jkRnT7T5BKnqcnhzbVJPboXiiUCyEBDVdKDbhJmTuxDhn22s0SaeE0KZvT6 3p9yQYhpz2ta+tChu3Lhl1YcjsBwSjVGgdzBTE2LThsgJnQ2K6quO3qmoebPG+d7BaL1 krwSy53IUIA5XMOE2lbKt4VPYWPNwzfFlCk20tf0pe9Sws3qCU+THqVkJZIkkBdPTAAm 9U5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=JPs/BJf9nokkm0Fs3nahQnpg8ig0SLQCm+6CAdJdLK8=; b=Ev9nDHtEhO6nIquDEMQdEFIG+w+WXVnu11LA/0nOefye1KDMkMxd/nt5dv0OwY7etM Rr/UpLnWgW0JPMPJg+2wBBc+Qk8ufuF1M3ZmsiVEeS0cbykKn4Oseodw2lD31wPjqsIo 0B/rLmXSJO14N55fd4UvrfeE62ITsryKCLO5BSDnlvoFxaY+pfkZPxqg8FbzCXeTiNpb p77KHRmtwsgsmABlUFrxiaJn+gu+yBEug/4AOg+tbCHnKB3TL0DURtWWSvvWabh+VCF3 Jl5FgZMvTDBeTQLOLc8QIUXgS0wI6cxFavGem3KSvG2vbp7N5+lubr8TVdKuFvYE/5BX cLzA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k128si8286743oih.274.2020.02.03.03.23.22; Mon, 03 Feb 2020 03:23:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727433AbgBCKAo (ORCPT + 99 others); Mon, 3 Feb 2020 05:00:44 -0500 Received: from mga12.intel.com ([192.55.52.136]:11623 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbgBCKAo (ORCPT ); Mon, 3 Feb 2020 05:00:44 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Feb 2020 02:00:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,397,1574150400"; d="scan'208";a="225121166" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga008.fm.intel.com with ESMTP; 03 Feb 2020 02:00:42 -0800 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1iyYX5-00054m-Nb; Mon, 03 Feb 2020 12:00:43 +0200 Date: Mon, 3 Feb 2020 12:00:43 +0200 From: Andy Shevchenko To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Henrique de Moraes Holschuh , Darren Hart , Andy Shevchenko , ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] platform/x86: thinkpad_acpi: remove unused defines Message-ID: <20200203100043.GZ32742@smile.fi.intel.com> References: <20200131143650.4149-1-linux@weissschuh.net> <20200131143650.4149-2-linux@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200131143650.4149-2-linux@weissschuh.net> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 31, 2020 at 03:36:48PM +0100, Thomas Wei?schuh wrote: > They were never used. Thanks for the series. Unfortunately I may not proceed it since it misses our patchwork [1] for some reason. Besides that, this patch is okay, but the rest two must be: - unified together to avoid regression in the middle - done other way around, simple add aliases to *old* ones Don't forget to update any documentation if needed. [1]: https://patchwork.kernel.org/project/platform-driver-x86/list/ > > Signed-off-by: Thomas Wei?schuh > --- > drivers/platform/x86/thinkpad_acpi.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c > index da794dcfdd92..2d3a99e3efb7 100644 > --- a/drivers/platform/x86/thinkpad_acpi.c > +++ b/drivers/platform/x86/thinkpad_acpi.c > @@ -9323,9 +9323,6 @@ static struct ibm_struct mute_led_driver_data = { > #define GET_STOP "BCSG" > #define SET_STOP "BCSS" > > -#define START_ATTR "charge_start_threshold" > -#define STOP_ATTR "charge_stop_threshold" > - > enum { > BAT_ANY = 0, > BAT_PRIMARY = 1, -- With Best Regards, Andy Shevchenko