Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp707885ybl; Fri, 31 Jan 2020 06:38:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxUsQQzTAJxDEN4Q9c6W/UC3rn6oS0UGzryLWsc3jnRoLCZk90x4BHR/+3YOz47HgbhXK1t X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr7863515otp.108.1580481531976; Fri, 31 Jan 2020 06:38:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580481531; cv=none; d=google.com; s=arc-20160816; b=zdwVQz6LAJtsccJzUiCGVnMQvPa9Xn/kdS2gUs/1wB75qNaZq77gRFia7Gut62S1EJ nmfpK3xmfWfc9IQ9fS6X+fKjEVT6VViBjcIvHyRsAqf6xzlRM+nDBHY+ReyIhGAJ9wH2 T9Q8Y3IOjWAXvz/lkxs/WVDLY2FH+6nLrUgSX4S5IhNMvZ+oGOE2AAbmIxLjmDG2xNa/ lTaozFBIq6VVeKZyZ1Qk3ej3xXt+JK4VNY/wHg4n8aSj3JrUdBe3eRwrU9lRZoqr32Mu PMYxQC+zmzRHbN8lTvy2UFaxV8P3/NJJ5EPoRT/BO7+rHvaHEPPUW1Rv8KVdUlOwzWeM VDPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=LEPEoNRSaAGHUoIEPq36HieipA7fPuCOT+K2MDJ6u+0=; b=iJHBQx8kbcvWxj1bTwvJP6FfSwGhbLsjpcqDs6/8ZOVmw/2UI/7E+rzXIpttdRgX/j rB67gPc2L4FZBh1NIiyMDGFDslGZvz51gCqu5gk5LoYBr4rBwv+C1aFeeSXdUvh7U3dv E4H8uExWXnMhYrV/e6p8TJSRs6cRPy02wPdnPDYvKw29NoPKVbU1U+U14stNkjZJRjfr YuBbI0MPym1rpPkBU6GEJD+xJpYus5Urw9iZ0KX7AEx1HCekxkrFf7Te2Lg2JCg/8Jjz bKUWdZy4akzOMTirEBHNAFl1nb32laTX3n0MGYcgDAqKZ3h585A6jzP5T/2lfOPClI0v W98A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=elXDlvbm; 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 t20si4296317otr.64.2020.01.31.06.38.39; Fri, 31 Jan 2020 06:38:51 -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=fail header.i=@weissschuh.net header.s=mail header.b=elXDlvbm; 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 S1729004AbgAaOhs (ORCPT + 99 others); Fri, 31 Jan 2020 09:37:48 -0500 Received: from ned.t-8ch.de ([212.47.237.191]:37344 "EHLO ned.t-8ch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728825AbgAaOhr (ORCPT ); Fri, 31 Jan 2020 09:37:47 -0500 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1580481445; bh=bJgEuisyk6F4q2o0zelYg072No9f9ecc5qp9+z7E1BE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=elXDlvbmwTuyVCKpkm7gs+TriHixDjltXBmwm4BtaqQzq3FlMujws/e76qWG3+lVk wt5hrtp2qxkVCqA/Jzb3keBGQtaqd0lGcXCw28X+H7+Q+1lXY6RbarUgZqmeffg/DF LqPGwz7Fg+IQsOkyMe4nnEBj3VbKql86QaVgYvyk= To: Henrique de Moraes Holschuh , Darren Hart , Andy Shevchenko Cc: ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Subject: [PATCH v2 0/3] platform/x86: thinkpad_acpi: use standard charge control attribute names Date: Fri, 31 Jan 2020 15:36:47 +0100 Message-Id: <20200131143650.4149-1-linux@weissschuh.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200129204338.4055-1-linux@weissschuh.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series switches the battery control sysfs attributes to their standard names as documented in Documentation/ABI/testing/sysfs-class-power. If backwards compatability is not required please drop patch 3 of this series. The old names were not documented explicitly and new generic software should automatically use the new attributes, which may allow to drop the old names. Changes since v1: * Corrected charge_control_stop_threshold to charge_control_end_threshold. Thomas Weißschuh (3): platform/x86: thinkpad_acpi: remove unused defines platform/x86: thinkpad_acpi: use standard charge control attribute names platform/x86: thinkpad_acpi: restore old battery charge attributes drivers/platform/x86/thinkpad_acpi.c | 29 +++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) -- 2.25.0