Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2397504pxb; Sun, 17 Apr 2022 21:38:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcN5G5CDQcDRC4HkYmIktU7w5m9pdKUt20ts8ctIOwZzxd9wfC3iXvQS2YPvF0qHxPbXB1 X-Received: by 2002:a05:6402:d62:b0:41d:79e6:1617 with SMTP id ec34-20020a0564020d6200b0041d79e61617mr10494681edb.378.1650256734283; Sun, 17 Apr 2022 21:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650256734; cv=none; d=google.com; s=arc-20160816; b=v9pYbarH+fCrw0bfL6MIRQTtvx6xGvOSFU6Qvktx+MmZBwFDW3jOKWH6lMb2l7QMZq Cw4HOFwjbBISxr1la/CyZX6UeEBm7sT3JbWvRXVSqyyxjEG3rjR7jJCbj3BhxzTX4ACi wRqk0p27cZFfu3JvoooYlPONx8i95bmcRkZLEGToCP2GR07dlZxHOxn2RB1D2enjVTk5 VI2q+fImb07kSrNNPCPIfUwdwJcBRRbMWCbbYtR6B79IR65ugEz+5dVDJqz68AmMo+wL tgEpP7J1+zQhJ8+8B02shwMhDR67W2pcabi83c1VCZ4ZAvvQCyjyveyiR4I4VjNaAGf7 CJeQ== 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=NoluK6/BiwPeNJ97TZzJbzCH6F2vDktgcwIM8fOH9zs=; b=gIcNYcggqrkbfhN9+BJG+bXShLnHIC8HFL7FA8TCxUCjh2SHdmi7MRWamiIz731RB8 2pRc+0kGs6Br6UM2dzMfcklM7mk4wJLoqAxtvDNg0YK8JeXZG1IqW1doOjRP5KKv43y7 Q7SpCqXVBuN7mnltgZSsnG/Fls4gz7id2lDhX/KdHa21qlpKaHaVuGIOtO6zT9rMvfcc Bc/Tt9KwGFkW0paXxoqzE1hDppEa1w+wQ2F80I7qy/WdVsoALskOW2Fk78r4Atw9ERFc OWPwqHZXay18LNvcS7sGN5uPqGKvvO4GaJjG2fLScOn0EAYaXdEU136vGqBB0mI+4ETP JTmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cXVkw523; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a056402239300b00418c2b5bd37si5034696eda.25.2022.04.17.21.38.30; Sun, 17 Apr 2022 21:38:54 -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=@kernel.org header.s=k20201202 header.b=cXVkw523; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236059AbiDRD3S (ORCPT + 99 others); Sun, 17 Apr 2022 23:29:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236068AbiDRD3P (ORCPT ); Sun, 17 Apr 2022 23:29:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECBC117E22 for ; Sun, 17 Apr 2022 20:26:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 68272B80E1A for ; Mon, 18 Apr 2022 03:26:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC29DC385A4; Mon, 18 Apr 2022 03:26:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650252391; bh=7VisAQYT0TzWPffMkMB/kVe4K1ubWTvxLSBrs0/+ROY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cXVkw523LDbp3mJYn6LWdh79yMXv1Zb2dhfUM1ardW33A+TTV8qLZA0v8nSnbZeNJ watw1LKxYVaFX+WOaqc0R6TrMnmkwYCidhED+LD9UdiYdlNtC78575BVfU7CysxHOk 2ivmI9zXW7NqUzdut6hRWc3D6ob22zLieUEycZBEXAg+frxfpJNWYdJAacTuZYVSYB I7/U1IneA79UU+ejBcrL60U3GOAL+WROqc0cj5ZKJIRJueCvW3StXS+MC4xt49ES2/ zGza6Ufzn5XewW+DzvcKBYo+aZJ00ze1Xsbg21KUS6QatDmq8qVoPtDwVglM8vgADA 6lEL2p5SXFoOQ== Date: Mon, 18 Apr 2022 11:26:27 +0800 From: Tzung-Bi Shih 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 3/3] power: supply: PCHG: Use cros_ec_pchg_port_count() Message-ID: References: <20220415003253.1973106-1-swboyd@chromium.org> <20220415003253.1973106-4-swboyd@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220415003253.1973106-4-swboyd@chromium.org> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Thu, Apr 14, 2022 at 05:32:53PM -0700, Stephen Boyd wrote: > Use the common function cros_ec_pchg_port_count() now that we only > register this device when there are a non-zero number of peripheral > charger ports. > > Cc: Lee Jones > Cc: Daisuke Nojiri > Cc: Benson Leung > Cc: Guenter Roeck > Cc: > Signed-off-by: Stephen Boyd Share the same comment with the 1st patch in the series, Reviewed-by: Tzung-Bi Shih