Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3757507ybl; Mon, 3 Feb 2020 06:03:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzju+mCJBsp00Qao67vbpNfE1NJ28zC6LlvPeeUiEUmgoJqKZc/aR5wgRpXb4l9pvESCO4J X-Received: by 2002:aca:33d5:: with SMTP id z204mr13923029oiz.120.1580738604921; Mon, 03 Feb 2020 06:03:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580738604; cv=none; d=google.com; s=arc-20160816; b=ye1HGZe30yl2of9rd4WO54cweo4ccSrwTEhfBUqrnTMhTgVZVw3holH3jwQ5jxGCU3 epOx6+84TPQdPaEfY69oyOs/MTtRFI5fY3TKpehoDedG9zO39r8cxqyqFZw2smqxyXKG +XVuDfMI/zxVFSaDwjLTk7N3o43mrWb8eWcoMW+SULWPy+INb5gv/WVdfB2aOFrRmRdv jjnz9ovSc5d5lEI50aCdVaJ/QHg5FUXZ84JA6FAhaRI9rv0VMQDl8XCFhwxJSX1+t31P bjGoTK1Re8NdWGveXOUYAGWYxSmoy/8mT3RX7iQsS+dixzghHuBTE4DsFLcMaaQT9RsK HQNA== 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=5E2Uzhd6fq/aoFVXHVKDOY6XQDl+jAVcFBRq90nasUo=; b=wYU/fuxxk/y8rncgIybWCou2VHi0CTUdsJxTkrb7r+bUfpC4p25pME+o3Lr5YEKCcp 5ajfPgG5YaaJasoyq5xdIJMqQ8C3iF2Byevr62rKYb+Z33uYcwIXx1iJi+EXLb9AYAng GY/NbAHsRUtbuGRMEAsXHHZ4DD153ATgMb5wmn3ORANaTwxI+LslGUalKaW85NtOxQ0A AVfezZV8FfSLsfL/HrwoPJtXb8nHk2AwINd7aAitpOaQVi+FOYV2uulLvbD7yeELGE+9 BslHrdiWE4Qw0fCRQL+FvkMgGH6w/kiJoGbvopWciFwqvEBobaMhHmEKLy0gxBPwybtp na3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=TpOWY9pb; 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 12si7896733oiz.131.2020.02.03.06.03.11; Mon, 03 Feb 2020 06:03:24 -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=TpOWY9pb; 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 S1727607AbgBCMCD (ORCPT + 99 others); Mon, 3 Feb 2020 07:02:03 -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=20Wei=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=20Wei=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 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 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(-) -- 2.25.0