Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp772912lqs; Tue, 5 Mar 2024 16:44:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXTe4UMrh7dHRCK+9NbK0fKvnOHGgZmzPIlp94087rlWgZPw4/rLF3pW7XZRCklxNAhMrPEMdNNWDAJ2cbFYWnDBsaYBdlPzOgNDPwN+A== X-Google-Smtp-Source: AGHT+IFTQz0CbqHcBY8ML3QfAND1Nf9WT7gMnAQFEQq+xzuJZXknA+c3NHkmJxnXI16AO8j2pve4 X-Received: by 2002:a05:6358:6f06:b0:17b:f6a9:dc18 with SMTP id r6-20020a0563586f0600b0017bf6a9dc18mr4577323rwn.15.1709685897567; Tue, 05 Mar 2024 16:44:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709685897; cv=pass; d=google.com; s=arc-20160816; b=z+uWkKQoQX2QM3TxLhmP2W2sMnEMmScDhmFCLPg4So4b4jYfxFsXRBgvKP8voBC/8C DnKZIs4jd5DpklsYvTP8FezWqidU3STtypf0xcRvs587JJPiPs5Zi6jJ0OCnksi1SWn7 gJg0m5arAJ2YA7PnB55/2pqg8hT0lbkubE5zcYwDmlE2T/Z1s6xA2figX8CsJWHCyo4x 0snLs9CHdwrP//qhzbhZCGH7LVD3SMdiyxnslWmTrDoTmW+4Myk+onow9VwMINShv7dI b/sIRjX8ONS+lziF8u7q2+1WIXQoPf0NMPzIr6RT9sgPb7cUWdMRcWXtMID8YCdMI0ub W8Sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=54gPWg1mlIlddHIsPRV9vtpLs1Eb/R4kEn/Ze1v6HcA=; fh=MTMeVURZLZZVjoQWGoRXysSOXpsY47LLeu1SrW9yV9M=; b=U6h6PwKV3JHoBFMFhRTo//KHOAH3XXeoU2wxIFcnlyd3l7au7i/t+x4w9RafLNNc/J PMBqN9Jqq8Ja7W0b70owJKPvA2sF0gqqwwJFOz4AqzC/ssapFmLU+ST4AZ3umHfT7O4P idxLXkm8SbZcCAyzJD5c3iwoSSnO7XZvps4NO/+auvW9ipe4ebCU5QcyDj0k56hoW/rb TBka8tjYSWIT3TJL4pkzKtyrgARGWhmjKE62Bq0I+Wpn4Q6Tue/7jDTvItRvqQaox2ZK h9TA0DGsj1QJDlTooihkHVZppbusQEOZFgSIQtbugCvTiRKn9yGGGiZKJ5IijWGHoC8U zRuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-93164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u16-20020a63ef10000000b005d3643cd2d8si1539415pgh.777.2024.03.05.16.44.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 16:44:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-93164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0EF76B24876 for ; Wed, 6 Mar 2024 00:24:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F85CD534; Wed, 6 Mar 2024 00:24:30 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E71C363CF; Wed, 6 Mar 2024 00:24:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709684670; cv=none; b=av/p9Ydwv/+H84MF9PMNZpaZ36n3cGa0aLkGulL2TyhI0ND6wITmDiGFbB1KL1SbMDlKpEo03QiUs1K7M5hCjpmAL52vwg18ha8j9DG0oAYxfi8AvGu20jtSCTRKAxzV8cWKu7/XvwvmRgy5g7mugTA1oZvk1PgcU+FwF/UUKss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709684670; c=relaxed/simple; bh=TgRBiYCHdeXZfja/DASlXzVoEa/qu2KTviAC5jDbs34=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=IqKBAfuFKmh3dE0MpseZdXBfvLd2l8hrnwm1VeG89xcYwGUeeUWOcP+eBgYxGcRcD/chx22/qcARJcrZuzgMZgXzbVpeNrgyZfNvulXtD1IZa8E11bVmStbeHEXJtw+XuORayzPKy8zKIEzFeJjW8Y7roStiimBYp2V/hT62vgo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56957C43390; Wed, 6 Mar 2024 00:24:29 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id 3A95F1061BCB; Wed, 6 Mar 2024 01:24:26 +0100 (CET) From: Sebastian Reichel To: Linus Walleij , "Ricardo B. Marliere" , Sebastian Reichel , Sebastian Reichel Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240301-psy-class-cleanup-v1-0-aebe8c4b6b08@collabora.com> References: <20240301-psy-class-cleanup-v1-0-aebe8c4b6b08@collabora.com> Subject: Re: [PATCH 0/2] power: supply: core: class cleanups Message-Id: <170968466618.645753.8043316178585971724.b4-ty@collabora.com> Date: Wed, 06 Mar 2024 01:24:26 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13.0 On Fri, 01 Mar 2024 23:58:25 +0100, Sebastian Reichel wrote: > I noticed some further possible cleanups when reviewing > and applying Ricardo's patch to make power_supply_class > constant. > > Applied, thanks! [1/2] power: supply: core: add power_supply_for_each_device() commit: 68ade0976df7979eac5f1d46320ff798f5043af6 [2/2] power: supply: core: simplify power_supply_class_init commit: ea1ec769d1f01a9900127e83e63dfdd77d096c8a Best regards, -- Sebastian Reichel