From patchwork Thu Dec 14 18:26:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13493529 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ACBDCC4332F for ; Thu, 14 Dec 2023 18:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:MIME-Version:Subject: Date:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uuSdssiL+D4rlpIvQhp3N793s4bTbGwC8IiBLNrKCTc=; b=voKyk/XTXmKfQL 9t4CALfuZQiSKo8J7JXrnfe5HdHT4TRwT9eWdjVeHnxqDrU/cI6ql4TH+KHb50bP0F9OylicpguaJ BOUXutiN+up6Ou+BSgxJJU3RjtUlhXveEB0oYaEsSf4PYxKqys522+P1V17Wo8OtsbjpwACQ1RBMy VheueWftfwuga+2k6JAukoGifZo/ioQETPDFod7Pahfp3peuRih5HNvMnwXoTXRpiBHWwQn4MejQx D5yClITHH1mqTnl6K8rWwa3e7Hb1sAMTgodBpG+UOdGV+ia9+xBUXiCQ1XRD76kpE6ZzPksZcXkDh gRhA9tctCfRTaEew4pUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDqPw-00127l-2t; Thu, 14 Dec 2023 18:26:40 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDqPu-001279-04 for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 18:26:39 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50bf32c0140so9582122e87.1 for ; Thu, 14 Dec 2023 10:26:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702578393; x=1703183193; darn=lists.infradead.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=zmDsslJafTSRmKM5b3evsAK8Ls3ViXkhrQcd4zcmDWM=; b=bFMxo+7FRTg3AOCSV5zcOj8TDrTwu1xS+DpbKMsDqz1emtHfQWJsv2lX+prRAHWm+H IYDBGHEmUEzuo/qjYHYb+Lb1L3IElKLNw8KAliPdxzV12HuYXsH4/rI1IbqoO39hdRn5 LTyKNxXb6a5m3CLlhnf2fTOh2nWXzsVG0G9va+GuNiEAJUvXSpGemLtnvDqvuADQMsU5 mLJQEFSuSR2XHC7OV5zLvmR1R13f/S/cXeho/VOBSeBB6woRIC1QmKogiJiykaHbrfb2 SUfqDB1SDjIgJuVRIUn2E8EywH85S1r0qI8nb+LsPwzqO8nwqHpG4B+Of/pvKfO3l0Vz JZAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702578393; x=1703183193; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zmDsslJafTSRmKM5b3evsAK8Ls3ViXkhrQcd4zcmDWM=; b=Smc0m7UktM66RjZpZH5bBSqj0wMrZPWfrha26CRBYfnIaqdpXtFNtivdebwYu2ZDks kPjQB6xzM5pLdf1U2RGqGOwIHZxEMfQNVg365UTQhzTiO0AYxlnBI3iiqZBD131G+FbA i4NZbPHLe4jXkdTV+5D1/Xa9jg0FQrTis4+K9wEGxuUncArGS5y3IhMVydYLvokrkbsZ 1sLvJ3Epu/ZEeX9zFryUFXBy5S0rxNAXIHhLlk7XaNMc+nx4qcCunOEonb8lhnI9Js+k bAU7oioAc49TjKbICla9uZlAgai8SAXd29nwnebHvDaqPzdOWq/61ByNE6UGka2tOXYT 6h7w== X-Gm-Message-State: AOJu0YyqceTfvuT9jcRBKZ8eT5OJJPufU+zycJXNiyN+tVgTTITqjNRy c94EMbtQCoSNUKBK4jBJhxcqLg== X-Google-Smtp-Source: AGHT+IG/1gx2W51+VtFuYaGxp+hgI76ViJ9Jv9M9qP8wYfm6+Eagvq1LqKduA9NDPaG0h9kfKHYS4g== X-Received: by 2002:a05:6512:3452:b0:50b:f861:fd4 with SMTP id j18-20020a056512345200b0050bf8610fd4mr4547064lfr.123.1702578393258; Thu, 14 Dec 2023 10:26:33 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id bi27-20020a0565120e9b00b0050c0f4fbbcesm1936228lfb.26.2023.12.14.10.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:26:32 -0800 (PST) From: Linus Walleij Date: Thu, 14 Dec 2023 19:26:31 +0100 Subject: [PATCH] mfd: ab8500-sysctrl: Drop ancient charger MIME-Version: 1.0 Message-Id: <20231214-ab8500-sysctrl-oneliner-v1-1-fd78a15c0b2f@linaro.org> X-B4-Tracking: v=1; b=H4sIANZIe2UC/x3MQQqEMAxA0atI1hNoapUZrzK4sBo1IFWSYVDEu 1tcvsX/JxirsEFTnKD8F5M1ZdCrgH7u0sQoQzZ450vyFLCL78o5tMP6ny64Jl4ksSLHwX2IQh3 GCLnelEfZn/O3va4boel6OGkAAAA= To: Lee Jones Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_102638_082577_5105045E X-CRM114-Status: GOOD ( 12.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The sysctrl driver was looking for an instance of the PM2301 charger but this has been deleted from the kernel and is not used with the U8500 systems any more. Drop the string. Signed-off-by: Linus Walleij --- drivers/mfd/ab8500-sysctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86 change-id: 20231214-ab8500-sysctrl-oneliner-ebd0911464fb Best regards, diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index eeeb62415f53..7ac8248b790a 100644 --- a/drivers/mfd/ab8500-sysctrl.c +++ b/drivers/mfd/ab8500-sysctrl.c @@ -30,7 +30,7 @@ static void ab8500_power_off(void) { sigset_t old; sigset_t all; - static const char * const pss[] = {"ab8500_ac", "pm2301", "ab8500_usb"}; + static const char * const pss[] = {"ab8500_ac", "ab8500_usb"}; int i; bool charger_present = false; union power_supply_propval val;