Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2969946rdb; Tue, 12 Sep 2023 19:25:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTSS45/cJuqI1IPZG6LJXt8p5k60D0F1AoBsQuMFVYe4tSSHiFjy8nCJQSwXHHPBD3sn9W X-Received: by 2002:a05:620a:4586:b0:765:8204:dd64 with SMTP id bp6-20020a05620a458600b007658204dd64mr1382651qkb.7.1694571917921; Tue, 12 Sep 2023 19:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694571917; cv=none; d=google.com; s=arc-20160816; b=xiamXAZ8HMJS0Cy5tcW26Hgvd2rVFX2nHuwuKigubrEw8l79YtdFWTiPZZAshc3JQr AcgCupZz+k38/b9TnyNW1gFXoPQp33/bycUVfYbLS+zswl+E2ONrzDEWQBk5omsJrzch CIf5GsM8rabtfoqG1O00F+F03Gx6EEm5VPDB6oOMktgAnlTd5NE/im8xs1HuB6c1VauR rItuzOjvYfP3z7AA/O8IonItgbBgSLlHuXdiMYG9mQIxafHgwYxi6Q8p5pWytVMPPkRp qdXR2EFLGzJmYy6BXIeK3tjolVvKrSWTc+MGTd0RCjnIAPhlWazGitDxCpBWA3NV3i69 VaYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VGD1H0I/8kyRuDXCbbEDvpcRxyM1oWdmNpG7XGxVJfE=; fh=pzW2CzRVDtfwvGORJ5XYl9lKAByheRkzOE9ap80AFfc=; b=ZE/koHmMIswWm188exhx5lb1XMO7a82VUiG1p8pqx0r9WgF7aocmSE7Geyae0rIytu BdW+uBHVQk5JtaTHffUT1HB8KXLJjPhowxxktOpvOvqb0IOuFx7gvJ5p/CPeqIo6GRwT am+fuRtcOqhevdRsfWBHz0Kt2pNUpUYsaLxtiUXkRwnM5uP6J7Lm0mcmeoJobwqYhA2V aEz6hAfnmny+eTT6G03+SakehoMvZwpwMoHrC6lsIddOT1tJBQ2mSZdCIp810jgIt7Jq Bi1wgSm24m8ftL5q3g0VmlUVM6QItHZpEp4i+5z/upqCtVwvc7oukWs+FFGza9HoW4Jz tPAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="V/FhKTWN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id s3-20020a637703000000b00573f867741dsi8951908pgc.151.2023.09.12.19.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 19:25:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="V/FhKTWN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 92814828D073; Tue, 12 Sep 2023 14:49:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232583AbjILVte (ORCPT + 99 others); Tue, 12 Sep 2023 17:49:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbjILVtd (ORCPT ); Tue, 12 Sep 2023 17:49:33 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E74410CC; Tue, 12 Sep 2023 14:49:29 -0700 (PDT) Received: from mercury (unknown [185.254.75.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 20291660731A; Tue, 12 Sep 2023 22:49:28 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694555368; bh=KzHUhPgIk9l5Uaueu48b3+uaUVOCUBluWUvrQPBJO5M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V/FhKTWNlzQtct5IgtDQhMjOFgcsXU7oFvaJdLnEbVO1aQtUmI7FUtophTh29Hpqa 7SIaJSKPRVf2mC+Q69heL4YdEpZgAPyGKqvOqZYHeTgHEl+fmqJPU1h8fwhf4c3kQX E/m/KgVPBiR1jwdzv3ol4ZF99eBRasMG2GB5FfZccJ3K3HN7TNKmdLK/qPq19yYI8e ubI+LMmy2PNcy3FaQLnI7qXOTwsr11cFFTJA8tyuBqae7PZv/Fz5/WZQUvBuamgpq4 IbqKbLKZDnyOzAKOyMTmnzTgr5v9E9uRgpkG6V2nBdqSk2QvUT/W/7OpSJMEoKBXG4 GUO8ONFqmOFjg== Received: by mercury (Postfix, from userid 1000) id BED16106098A; Tue, 12 Sep 2023 23:49:25 +0200 (CEST) Date: Tue, 12 Sep 2023 23:49:25 +0200 From: Sebastian Reichel To: Andy Shevchenko Cc: Biju Das , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Biju Das Subject: Re: [PATCH 1/2] power: supply: bq24257_charger: Make chip type and name in sync Message-ID: <20230912214925.uukw4lxnopzswqz2@mercury.elektranox.org> References: <20230902193331.83672-1-biju.das.jz@bp.renesas.com> <20230902193331.83672-2-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zewfeowjhf25xdtg" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Sep 2023 14:49:36 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email --zewfeowjhf25xdtg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Sep 11, 2023 at 01:15:09PM +0300, Andy Shevchenko wrote: > On Sun, Sep 10, 2023 at 07:10:06AM +0000, Biju Das wrote: > > Hi Andy Shevchenko, > > > On Sat, Sep 02, 2023 at 08:33:30PM +0100, Biju Das wrote: >=20 > ... >=20 > > > > - if (ACPI_HANDLE(dev)) { > > > > - acpi_id =3D acpi_match_device(dev->driver->acpi_match_table, > > > > - &client->dev); > > > > - if (!acpi_id) { > > > > - dev_err(dev, "Failed to match ACPI device\n"); > > > > - return -ENODEV; > > > > - } > > > > - bq->chip =3D (enum bq2425x_chip)acpi_id->driver_data; > > > > - } else { > > > > - bq->chip =3D (enum bq2425x_chip)id->driver_data; > > > > - } > > >=20 > > > Do we still need acpi.h after this change? > >=20 > > Yes, it is still needed as it is using=20 > > ACPI_PTR. >=20 > Can we, please, drop ACPI_PTR() as it's more harmful than useful (same wa= y as > you dropped the ifdeffery for OF cases in other patches)? I will go ahead and merge this series, ACPI_PTR() and of_match_ptr() should be removed in a separate cleanup patch. -- Sebastian --zewfeowjhf25xdtg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmUA3OIACgkQ2O7X88g7 +pr71w/+IgYWrC5fD6PTKqgYLZgjLziNKJmHrPKWUaJ8O7JmK/lffOU0ZsFJCW48 EvhmhZDm5Ta447qDYHrNIattg1pGYixLxkExXsFYoy1bb4CDzrDuXtEyBL/DvGK4 U3GQmnHyeSbFWJaEGkDaDaBiJuuJYpTfpLUvTbW45dhlzGNXRoNTaWfm8cvWuc04 W2AYdeUSNrirEXqP/R5XiRXEICmQ3oyRS7YUt+wqi0dnXu2JWQplMiGQgOP23veQ Om+LykWszUbgJ2CQ181mSshp8dxJqgE3IlSeDqfyTYLQsXuzOb7uiv1mK6tW20Ja 6CuY01qC7CobNWkqMRZfjtt949bQlXKW7clYUm6V4yXwASh9N/WRMS1Oa8qGlqn3 6EvhmOM4yGH8VkOd5P1DpLgjQ2P9QFLbWUyIqswt1do3az/b87LdDm8EAg4JpFTJ yXo2PJ0DDNXzkCTDQeO/Bw8gdQK9NYiyZpf+2EaVeHLla160TvI+SVB08QMdeoM4 aLYhXlO6dqb2CeriYEoWXAXf4oo/HEKMINiNQqjTv6IzXf92vruKeI7/un2r9s7L uxCWMNMu7spmsWtLarzxb18Ly8HGVNc0uFrGMcQ5p2onG1NjBfk8LTzzsFTR87dN aMdvbOYSgncrG1MHzuxyuSRf69nSYhEMFKv2wqNWci01ls3AFZ8= =djlU -----END PGP SIGNATURE----- --zewfeowjhf25xdtg--