Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3136799pxb; Mon, 18 Apr 2022 16:59:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDz3RbbZBrFyjyGroZj5vilDF/m9mcjIWUNp4yZL7TyAWJ0X2X5qBRRapmS+GdUfxnIaFa X-Received: by 2002:a05:6402:424e:b0:423:e4e0:fdc1 with SMTP id g14-20020a056402424e00b00423e4e0fdc1mr7902513edb.374.1650326362554; Mon, 18 Apr 2022 16:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650326362; cv=none; d=google.com; s=arc-20160816; b=nkDyfwRUxV8C6JL6cCvQuuBsX7UZseIt25BsgALcCTZv5V06zFFu5hAbPqG9bnJnuo MGFvc09kCdJwnmbcEjw29w4j+GWB5ooalYHXU7DM9xWtVb/fmAkqbY0VgzW6j2ujO3h6 1nKZkCvbBlsw7bvptFuqi343KPRyrAD8EE4td9oQk6Wtw2L72mg+4+KYiPKHipw/bXmY zqWxvfpl6A9o1nLRH4j1WcYhxBGXFIUAxSBEmzjIeCCoZzVrYVGrpdUulDzDk3dOKNul juk8l5aLPeBZD43Z9oMdqrK8pQqTaq2UeT3OZcokfCpMivTBjO0L51xeC53RDWt5Ai7P fKTg== 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=u9HwDSu3jkL7GJkxdCGm5YU8ByJmgH0nknQ3b6eIwRs=; b=Wnu68pvfVesYzP0VlnAeDnrtVXik6N+w8khE6r07449iwC6MiLIqxt4ZCCfSB0SKNu w/H8/QcrPf6/fzzTE+T/c5qe+o67RtdcoP4xX8+QRc/XFfTM30oMVy60xpNbkXQQ336b gIn0vODL3jDheIi/AwmONz76dSvVO3doA06ToqvtkSPP2iuBfsHc84X3yL7cTWUJ4m16 Rv98+EuTJbCreKHhadUBI4TRpeP9KVJuGWW7LQ3AcGPmVgGz9VrroqokPuLsJ9P6rSb3 5nJ7ela9PmNRh9YSiP+2luuSslIf0XUAwUfIsV4YsqWrMmcSBKHY9f5fcAe0cEwun5ty ou6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=k0TMbaYz; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170906718b00b006df76385cedsi7012860ejk.397.2022.04.18.16.58.55; Mon, 18 Apr 2022 16:59:22 -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=@chromium.org header.s=google header.b=k0TMbaYz; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235334AbiDRXep (ORCPT + 99 others); Mon, 18 Apr 2022 19:34:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235330AbiDRXek (ORCPT ); Mon, 18 Apr 2022 19:34:40 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A198B27CDD for ; Mon, 18 Apr 2022 16:31:59 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id k14so21665452pga.0 for ; Mon, 18 Apr 2022 16:31:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=u9HwDSu3jkL7GJkxdCGm5YU8ByJmgH0nknQ3b6eIwRs=; b=k0TMbaYzoa+OpneeXjXULYrDQlTSjIF+F3LakzftsYDwdrmPYjl/VyFfYJI2HfdCGA OT+k+eak3/T/cCFkYLP8k4W8e88ZFlObRsuM6NogdC6+D3Vpidz4HLP/TAiPtNXyIQoI Yl0YWKbPRXDAvLag5neYUgdEm0xLQJ2AVw9Mo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=u9HwDSu3jkL7GJkxdCGm5YU8ByJmgH0nknQ3b6eIwRs=; b=f+zMgqPdzwD/pMg2CaNrd0jz8yyOB2T+suRHZZP6Dbnk40w/kz185eNk9gWk8FlG12 ZLnfTacyH3GGJ3u115pGBi8Bp624PRtps7+yw3+TsaGciyYHDY9KsDaR5D6iQB4hKvrA 0fXPgsDqvBvwpVzS94okptk80TvWJ5Y6xj6f77Sjzx4DA4D2MzSpTugxr8vFy0P71SGY Ct5+4r7dXN5a4rG4zQCna/0/aLEfzJ4xiS7RWPGATOakdM3VPY3mwV3p3qiYow4NAMJN 74mEmA6Klpfq8GAe2wB4sAZEt+o1k+aefrsnA143vGELbbAoB3sm8ah9xCi7+awcAGiE deZQ== X-Gm-Message-State: AOAM532M1re1TsX6YWfkj1l+uW1GBuMaEUi7QFmYhOuXjWKuxrEiz0mX +e+o/E8n/4gptLmXH+aHq2cO8w== X-Received: by 2002:a05:6a00:2391:b0:50a:3ea9:e84d with SMTP id f17-20020a056a00239100b0050a3ea9e84dmr14999727pfc.21.1650324719179; Mon, 18 Apr 2022 16:31:59 -0700 (PDT) Received: from chromium.org (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id k10-20020a056a00168a00b004f7e2a550ccsm14283141pfc.78.2022.04.18.16.31.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 16:31:58 -0700 (PDT) Date: Mon, 18 Apr 2022 23:31:57 +0000 From: Prashant Malani To: Stephen Boyd Cc: Benson Leung , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Lee Jones , Daisuke Nojiri , Guenter Roeck , chrome-platform@lists.linux.dev Subject: Re: [PATCH 1/3] platform/chrome: cros_ec_proto: Add peripheral charger count API Message-ID: References: <20220415003253.1973106-1-swboyd@chromium.org> <20220415003253.1973106-2-swboyd@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Apr 18 16:29, Stephen Boyd wrote: > Quoting Prashant Malani (2022-04-18 16:21:52) > > On Apr 18 16:16, Stephen Boyd wrote: > > > > > > Sure. I take it that I can drop this function entirely then? > > > > Yeah, if it's a simple response, should be fine. > > > > > BTW, why is > > > that function name the same as a struct name? It confuses my ctags. > > > > Yeahhh, didn't think about ctags... :/ > > Topic for another series: probably can be renamed to cros_ec_cmd() (just to keep ctags happy) ? > > > > But then there'll be two cros_ec_cmd() because there's a > cros-ec-regulator. Fun! :) Ugh :S I think we can get rid of that one; it looks to be the same as this one :) I'll write up a cleanup series if it all looks OK.