From patchwork Thu Jun 20 07:33:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 167295 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1723595ilk; Thu, 20 Jun 2019 00:34:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/d3tc4cKGRehkj808i7ZFdrD/PxyW5nfvae7gFKjE/C4QdU1KD3h42asHnMFPQpV9SnGm X-Received: by 2002:a63:60d:: with SMTP id 13mr6789952pgg.272.1561016049485; Thu, 20 Jun 2019 00:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561016049; cv=none; d=google.com; s=arc-20160816; b=rSY3q0y4t+3ffGhGZg95hRkB+San4UIiaM1y273lEkQv2GogjYWJduoeKkOxQzNBBr nQL6J/yJ13351/X9cM1T2Uq5dwyhRKQ1AI2WeHPAQWPMwB3rLquprTyV0iFgFoVfcduF AsEm3dxsB8c5Vrh3G0RwDeTLStzHKMHM7VQB/CV78pOfH2zOGMYiBMkHhXpSrUR9vAaF Fzr8z+3tnz/Lc2yMLwD4YcCwOESFxbn4UMX55IHfPDUNqqT9KewZU/HlGcShb24TOOAJ 5dhP2FiJ8lxEBeuf8HMzNb0fed436i0ZXgfcOu7OwHwAWTwAxtOkM5Uu4vSD8+UNx4GY q7Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=4FqCiRm/R1y86qapH/9mGQH5c8EcuBpU48EvhhlV0Xo=; b=Gr1YSsqWcA9RDosKyjKT7IaNQ1jtqOc9pYm2x08wyhj8kPK7AzIiikx0a7rMnRACdi FLIuaW6Sn5KIm5fVXO9tm/gutobrr7O92bDtpWRzcZ82lKOZX8ZIsoY5f5/x1xx2W/yZ nwSKo+3VBpAxAYubJgrHNfC1Meg6rzIsGiw5Jp3zxL1N26nB4c59ukUYEDJfm4QwCueS SKtJMkpHn/x9FT8JZTuWQh9o3E5UdWL0PY6Uann38koLEopcYViMKEjG9pFFuktxxfKe fP6EAHEy9jb/i1EVAb3/edqJdOhDwUQ2oJ1wjXnj1JtWLeev8o0QJDGOAoPGG8sfFuJG 83nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=znxrnhE1; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si18107801plh.56.2019.06.20.00.34.09; Thu, 20 Jun 2019 00:34:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=znxrnhE1; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725875AbfFTHeI (ORCPT + 8 others); Thu, 20 Jun 2019 03:34:08 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54770 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725872AbfFTHeI (ORCPT ); Thu, 20 Jun 2019 03:34:08 -0400 Received: by mail-wm1-f68.google.com with SMTP id g135so1916069wme.4 for ; Thu, 20 Jun 2019 00:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4FqCiRm/R1y86qapH/9mGQH5c8EcuBpU48EvhhlV0Xo=; b=znxrnhE1zn6897NXu7Ylb/PPmBkD1bHTVNiahykJsigkiAXochglTrE8rTxzxCgMhZ VbTtDSBvvLdcwD73C7E71LtJf2AF3A4j+9VXt/49eQPd0os3vg9d6q8EQ1g5nR98KBq9 NmK4FNti4NGbO+P6JCbZ+g9bRpl6IVBU0zYKbBp7Ovt/2JZo1NqWBK1nBWKvoPe+IBSX tnium+eClaXewTUoyeOxQ0Xyyfttx4wZIFChLJcZQXT3wjMu6pTQfGPD5rthYNNvZrtZ xmoqXJ142pr0tBe2RKZaxpLNxLK9ckmauyujjtjS/UqA71HJqY5H/dBGNd/dwlCZKxP4 z5tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4FqCiRm/R1y86qapH/9mGQH5c8EcuBpU48EvhhlV0Xo=; b=tmGhGY1ik2zomRTYX3tj8tSKAVGSgeFPKbJ07AOtrMrzkqRIapuzXDk6YfLWCa9xie RUwxKDDQNeivI74is3PTY+deeiMk+Bb74S+TolC4mFQvwWClrhrC5rbZcJP4qjvWTs9/ 6vyXkHxdgXgPxq6rnxOa+u3gOOI4I9YBMvm4KK/BlfYdGYDevTloYc58Ru3KLzcZZBib VnBc3PZspbucEzh7coGqaqJDOShnYGkaxdWhyibAQvw41L40BMyLq/tp3UXrR1wuzB2S 6pbxCa2MyGt3ieCfz9FiFBIvbxB4sS0SWzw8sPr2rcd7n3c10M8Nb1M/ANr4UhskN9oi 6J2g== X-Gm-Message-State: APjAAAVOMCH9nI/K1rtZP0ChgBe6KM9iv23kQei1xfoyEipB/CdLtzuf lfCDRTij2GdF7C6MLda25cSiohKqZIcgUg== X-Received: by 2002:a1c:3dc1:: with SMTP id k184mr1536273wma.88.1561016046015; Thu, 20 Jun 2019 00:34:06 -0700 (PDT) Received: from e111045-lin.arm.com (lfbn-nic-1-216-10.w2-15.abo.wanadoo.fr. [2.15.62.10]) by smtp.gmail.com with ESMTPSA id a7sm20023181wrs.94.2019.06.20.00.34.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 00:34:05 -0700 (PDT) From: Ard Biesheuvel To: linux-acpi@vger.kernel.org Cc: lenb@kernel.org, rjw@rjwysocki.net, lee.jones@linaro.org, Ard Biesheuvel Subject: [PATCH] acpi: make AC and battery drivers available on !X86 Date: Thu, 20 Jun 2019 09:33:53 +0200 Message-Id: <20190620073353.5770-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org ACPI battery and AC devices can be found in arm64 laptops as well, so drop the Kconfig dependency on X86 for their drivers. Signed-off-by: Ard Biesheuvel --- drivers/acpi/Kconfig | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 Tested-by: Lee Jones diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index e016f7a6ed13..3c8011e7b0d7 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -155,7 +155,6 @@ config ACPI_EC_DEBUGFS config ACPI_AC tristate "AC Adapter" - depends on X86 select POWER_SUPPLY default y help @@ -168,7 +167,6 @@ config ACPI_AC config ACPI_BATTERY tristate "Battery" - depends on X86 select POWER_SUPPLY default y help