From patchwork Wed Jan 29 20:43:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 11356837 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2BCBB112B for ; Wed, 29 Jan 2020 20:51:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09FCF20716 for ; Wed, 29 Jan 2020 20:51:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="J2ASqw0E" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726742AbgA2UvT (ORCPT ); Wed, 29 Jan 2020 15:51:19 -0500 Received: from ned.t-8ch.de ([212.47.237.191]:44324 "EHLO ned.t-8ch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbgA2UvO (ORCPT ); Wed, 29 Jan 2020 15:51:14 -0500 From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1580330625; bh=NKUmMyQPNMW9j4FgzjMYHkAPpVi0GsN0og9K81e2G90=; h=From:To:Cc:Subject:Date:From; b=J2ASqw0ExW8TjRkwaPHTq1UXNlQHF04mTpvQe4Ac5u720QAxiyIM6i7LkPRjfebcb TOjyIVcMgBnZiNIIh6t6pX+HouH/1MmsMkvHA67f15jr7WFp9SvkRBk8z/Y1On1KAY Y06i0dLP+2ZPjMaI5NUPdSGTTDDKaipIh42bcLwo= 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_Wei=C3=9Fschuh?= Subject: [PATCH 0/3] platform/x86: thinkpad_acpi: use standard charge control attribute names Date: Wed, 29 Jan 2020 21:43:35 +0100 Message-Id: <20200129204338.4055-1-linux@weissschuh.net> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org This patch series switches over 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 us to drop the old names. 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(-)