Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1283842rwd; Thu, 25 May 2023 10:19:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LLBy+L+HXKhUOnJ/gqhE7202TCPdzxzJUz/3hyMLO5VKGZ0+GP4srSt1lAOqnzDsGFGC1 X-Received: by 2002:a05:6a00:2d11:b0:64f:4812:8c7e with SMTP id fa17-20020a056a002d1100b0064f48128c7emr9674420pfb.19.1685035156960; Thu, 25 May 2023 10:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685035156; cv=none; d=google.com; s=arc-20160816; b=XYCawBQ2o5JJd/MVryWKF5oJdYv0ewFIKGJOv9kKQST59z028xZGv3nskWyy65q9yM /dvWcNLeQzDdGWraxMsWeM9Xew2bI6R2PBXWgce5ySfeI0eIUrouk8URca8hSAIV81I4 AHolufuknqcKIAL6s5Egz75CO4FFv9MyuVTPJFrWUJCxZmwVnZm+mif2qwLqAvAz+wue zU43SNfFu+QsBY+DcgC0vcaOAzPFZTIWha6MHdMq4vCZ9WEGlpdpRn8pm7Wd3O0cEkiN exX7XAhe+2GCzghH6TEYKfwpWxA3QNm+LxrpjtZCxLZPlc3aB0+YQHgxaWtsg8CFut2H cBXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xkgnHjBKgUoTwdkT61NT3PpvtEjCsZBF89ShWXMrk8A=; b=R5sn5j3teBgab/TD2EYcJPHwtK1icggXUqmIYSLu2wJFVOiQlqY7A2jKPOtGGy79Ww 2ZrRkN9rbs2M9Xf2pPwE6V1Iih968NMaPKA/qfpwFCGG3Vgiwi30UC7XWbIccbfqU4hE 7v6ZFV2oDmGauqd9uwgNCs5EybRhhr+xhoTGABzu/QMy0c+21kKl2tt2ms1dWkEoAGcJ dL1qxRa2+NzRM8+Os3WU+WTiiF+9qQJIfhRd+9KmY1xQPMI59mQcNYHyEbO4nJnn+Kjv qAn+nlvobMQytrGro4Iot9V8CRbJDj9vqlM0vpdoscNnGYjJTaOEN+i0QRGfQq0vYu30 EVcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rocketmail.com header.s=s2048 header.b=HaTVT25f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rocketmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m66-20020a625845000000b0064d69e90de3si1997305pfb.90.2023.05.25.10.19.03; Thu, 25 May 2023 10:19:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rocketmail.com header.s=s2048 header.b=HaTVT25f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rocketmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240832AbjEYRRB (ORCPT + 99 others); Thu, 25 May 2023 13:17:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234155AbjEYRQ7 (ORCPT ); Thu, 25 May 2023 13:16:59 -0400 Received: from sonic308-18.consmr.mail.ir2.yahoo.com (sonic308-18.consmr.mail.ir2.yahoo.com [77.238.178.146]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76D2518D for ; Thu, 25 May 2023 10:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1685035015; bh=xkgnHjBKgUoTwdkT61NT3PpvtEjCsZBF89ShWXMrk8A=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=HaTVT25f9lqUnbp8L5yar5hbbsHNlY0LyA4z4xDpKfjuquHCus8yaXs3rCDKo9x66KsZz+h6+Wp5VtIDnspos8woLlBvKFPipqzKx3nFKbKhJb/APNybvAcvSQ/wFCFdFBGQymd6ghuRfD1/lLb8SXYMUlpYaaFgns/UG60n/lJ6or4pNNlaHSaDBCeAZ8hxn84mGIJgW0ODm+C+NH8+WCBoExTCUvY8PwUDkKDvH/aBqk/7wY4vZzbiePXiCPD0fiGi+1HZrCw7qYqjFeoTD3saMq/XyZ5U9HuRi6yv+5hYj44MtBOpGndEaL8LilpR6JvxVSB4Y8bElbdjQ2KqpA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1685035015; bh=PawQULQLg4LscEgh9vaZZDdtXDFK5uRu7EfNU7g6Wm4=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=JbdOqQ6ZdbOnTNnRm3U2tV1/BRfm7bpMlpIOpC4eX+uoZIuMOsGIz3kcg7ocdcD3jNtYgoHEkErTRhNkJ5hZqOTzhwsG9klQQbAF3nj1Vvybriys2E6JlcTTXDqlfRt9rBQAiqx+bbr83b+EphAnbaCg4RfHveqXGBRZi3o2Fij2upiZB9kY6SllgRAXCFvueSm84aPVkQsHmxg/IG7eqN2uSz4l5ri7wynJ8jIjrzlhsoTw2RrEQiOSY6T4tTHOgLA7VU3vN648++EA86XCvmsjodnc3j85FowixOJD2Nltacv9ZFIqyu75W5VJodiGgeLG/05Jk16/BIFKT1cJjw== X-YMail-OSG: RgaBlaIVM1nUppqx0Hh5l3kHWwZNL_1F8cFW6_8SOqX8CAftl676FQNZCItEdLs CSG5XHlk3ZiKUuvCG7jkEr7sBbM0cJvdG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A_5E_xU8q3x0zRXafmby40u.m0.1MKIDO04yv.GG4xvFPqjTqyFIShYH trRF2yQzZJTLsjK3VU4ueTvyI_mWBKHYb6J3XGPAzjySizWw2p4NUMfrJ5LjFvGOS444kbaKFQlr W7RYuI._tXg-- X-Sonic-MF: X-Sonic-ID: 6296b9f7-b72c-4688-8d28-6ed9ad826277 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ir2.yahoo.com with HTTP; Thu, 25 May 2023 17:16:55 +0000 Received: by hermes--production-ir2-7867f454fc-tvsct (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 728940cf93f8512d21c18c5c5db9725e; Thu, 25 May 2023 17:16:50 +0000 (UTC) Message-ID: <8ba9bb4c-6b9f-21ea-e9fe-89d5038dff2c@rocketmail.com> Date: Thu, 25 May 2023 19:16:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v6 04/10 RESEND] mfd: rt5033: Apply preparatory changes before adding rt5033-charger driver To: Lee Jones Cc: Sebastian Reichel , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Beomho Seo , Chanwoo Choi , Stephan Gerhold , Raymond Hackley , Pavel Machek , Axel Lin , ChiYuan Huang , Linus Walleij , Henrik Grimler , Christophe Jaillet , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht References: <31c750ae13a1c1896b51d8f0a0d9869f8b85624f.1684182964.git.jahau@rocketmail.com> <20230525104434.GD9691@google.com> Content-Language: en-US From: Jakob Hauser In-Reply-To: <20230525104434.GD9691@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.21495 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On 25.05.23 12:44, Lee Jones wrote: > On Mon, 15 May 2023, Jakob Hauser wrote: ... >> diff --git a/include/linux/mfd/rt5033.h b/include/linux/mfd/rt5033.h >> index 8f306ac15a27..e99e2ab0c1c1 100644 >> --- a/include/linux/mfd/rt5033.h >> +++ b/include/linux/mfd/rt5033.h >> @@ -51,7 +51,7 @@ struct rt5033_charger_data { >> struct rt5033_charger { >> struct device *dev; >> struct rt5033_dev *rt5033; >> - struct power_supply psy; >> + struct power_supply *psy; > > Is this current unused? Currently this is not in use. The rt5033 charger driver gets introduced by this pachset. The struct rt5033_charger was added in Dec 2014 with the mfd driver [1] but the charger driver didn't make it [2] and further effort to implement it phased out [3]. [1] https://lore.kernel.org/lkml/20141209140102.GZ3951@x1 [2] https://lore.kernel.org/lkml/20150122183037.GA24898@earth.universe [3] https://lore.kernel.org/lkml/1425864191-4121-1-git-send-email-beomho.seo@samsung.com/T/#t >> struct rt5033_charger_data *chg; >> }; >> Kind regards, Jakob