From patchwork Mon Feb 3 12:01:30 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: 11362557 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 3AD4192A for ; Mon, 3 Feb 2020 12:02:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19CA220721 for ; Mon, 3 Feb 2020 12:02:10 +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="TpOWY9pb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727581AbgBCMCC (ORCPT ); Mon, 3 Feb 2020 07:02:02 -0500 Received: from ned.t-8ch.de ([212.47.237.191]:51352 "EHLO ned.t-8ch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbgBCMCC (ORCPT ); Mon, 3 Feb 2020 07:02:02 -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=1580731317; bh=SqxYLCmdR4Abw8l8bjcJ27sDp3wH9PE1sOB/bNJIyHc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TpOWY9pbayjtU3P//dUddgW7R+q2LWsyNeGUcJHQGdyYqANEe9202+TD2SxkZ97A8 55twlHQtoyWNaSF3tGegOC1ks20nZjU9T11cl4WTzalArIEFK7CZngBj3VBv992pxm cKrpoBGrjqRMxAoP/gr3rwFlYMHloJXBgNfQugYc= 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 v3 0/2] platform/x86: thinkpad_acpi: use standard charge control attribute names Date: Mon, 3 Feb 2020 13:01:30 +0100 Message-Id: <20200203120132.102576-1-linux@weissschuh.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200131143650.4149-1-linux@weissschuh.net> References: <20200131143650.4149-1-linux@weissschuh.net> 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 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 v2: * Preserved API backwards compat after each patch by merging the patches that switch over to the new API and reintroduce the compat aliases. Thomas Weißschuh (2): platform/x86: thinkpad_acpi: remove unused defines platform/x86: thinkpad_acpi: use standard charge control attribute names drivers/platform/x86/thinkpad_acpi.c | 29 +++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-)