Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2225568pxb; Fri, 25 Mar 2022 13:24:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQoH5wi33TQM4jFxV4Nt4/GpJmn0m50yx9rXf5g9UejZYHu+QbMfv1ikddgyM44ZPBKLfs X-Received: by 2002:a17:902:f68e:b0:154:6518:69ba with SMTP id l14-20020a170902f68e00b00154651869bamr13709679plg.60.1648239866742; Fri, 25 Mar 2022 13:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648239866; cv=none; d=google.com; s=arc-20160816; b=Q75R/mV4A9aw2lfitMt++hSfN0b5BW0roxPpMTrUiFkuK6+TPLK++SnwHZ5JFXdubr L+ewicEDc8ZqrATnsCTAKzlsmg1MIR4BT7uQnfOEzpfmf28IMBuD0jBUZveNsRXOk8sh F4SlVh8khQ46SQPP7oAolDzK7EE2/QlXSD6q+ykAXQeXEgJDEPgbmKDrJ11GluYO9XP4 7emDCjm2DHB7WRCwSszEBUYSyAVtDCkWJCMbdfsdzj5chT1UVmdgi1GrlpnZB7M41hKS z+O8h+l0By32QGaA9Lu4DhXRvmn9m2vyUWJX5XTYKe3FfTRlwqms8VvqF0SVdSfxRK6c v/UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pba7oP54HKPv7rvuNO3mNof6XZxbJlFCeC12aVk0OXE=; b=w07XYt6Qhw65FRP/duuMmhaQVloFTJMEWERzygOg/FDWk7fZ++E47rDEvPLNSyzmqc RobOMqv9OdpMYShHNl6vn7lZW0L2Fb4bKgGOO9DdnrvhMeO5SQrQX6fyeMDsFiepxe5G 55yr6Th4ThlASPpRAC0OlPtT9zaBg1TQUSglg7nC7H0ZUeoJwlq5zuy5IO2I0cZN8svU ioD9LZyIBhWMdygMdWCH2w5tQ7kZk4fyR7wKHhrUfKehuSEE5Io2qyxtsJPOnqnslWb3 kzSEGxDr8jr8PSqEWMxRLiU/NdLIdmp71BVgJBIRCLYqVK9nBRVU7eLOnnTCNpkPquGe bTrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kwIy6IhF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b1-20020a170902d50100b00153b2d16561si3558930plg.361.2022.03.25.13.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 13:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kwIy6IhF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 207571FF422; Fri, 25 Mar 2022 12:38:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbiCYThV (ORCPT + 99 others); Fri, 25 Mar 2022 15:37:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230446AbiCYThD (ORCPT ); Fri, 25 Mar 2022 15:37:03 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20E2126B58F; Fri, 25 Mar 2022 12:22:38 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id h7so15002000lfl.2; Fri, 25 Mar 2022 12:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pba7oP54HKPv7rvuNO3mNof6XZxbJlFCeC12aVk0OXE=; b=kwIy6IhFaTatHujym71oQXoxz+i5Xr8B7K7YXVjy1gWItwQ1opyNXXop+NF1l9aJS2 pzBuo/+uA+LVAHR7nDUHFvICyPEkZ5t7syk2ZuOaS7m2Mhdn8I7uWQwDMiytYwtx+dnW Zrip7Uc9q8qylF3mmXJJ+lZ+eyGquAs2dzXvNQIw/kUzydliK7pTPRqacmCh2QCWsfVw B4wEh4olQWOvguJc6sjgqw/DQMKhigcRZqXRct8WeVARTzM9aHsLpSdblReheJTC4CD3 PT3t4+JjyC1uk5V3Rt/F7wyMs4ycsC9sMLnMKQGTo5aQ8vWxNy7B4ddve8rl0HY5ie8p EkCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pba7oP54HKPv7rvuNO3mNof6XZxbJlFCeC12aVk0OXE=; b=FtLduTcWyoRpEBgIoQY5R2gusk+DwRlTKtW/wkFKYQejtLOXq3C+8YzhIlFOKhDITD 3da0+DXo2LPwwyD3IomYqKLKdzJUPacf/PP4MLOp//dhr9QaerMMolMIw8skzY9XHH4r wwkus+fl+VOk+mC5HAd8YGhrpHjmQzQp7HRtNhOzz07yUdrjfZ73RgrbojiZpYxztBiX fMwRXsWHoGcOt0TbYWPq1CuJeaMgg1USifG0hN7FfXZrheSQHel+NyhEcuAkkSD2hyke 6eTjutADloEdHtS07JYqMsZEfM79CheilIg+F+H1ZBAm0Wl5F2GTgPomPTFwk7aWyag0 V3AQ== X-Gm-Message-State: AOAM533KMjo8i0gRBu8blQH0bVc97Wg6fyKQlnKQaBPXdDWSoNhDVfgN C4F7VCh15Ps68+otRQ5qCBwpQ3aL0dLj91eXxBn+bkm/PZM= X-Received: by 2002:a17:906:9751:b0:6e0:5cdd:cabf with SMTP id o17-20020a170906975100b006e05cddcabfmr13358276ejy.38.1648232337047; Fri, 25 Mar 2022 11:18:57 -0700 (PDT) MIME-Version: 1.0 References: <20220324162904.530140-1-steve@sk2.org> In-Reply-To: <20220324162904.530140-1-steve@sk2.org> From: Max Filippov Date: Fri, 25 Mar 2022 11:18:45 -0700 Message-ID: Subject: Re: [PATCH] clk: use simple i2c probe function To: Stephen Kitt Cc: Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, LKML , Wolfram Sang Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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, Mar 24, 2022 at 9:29 AM Stephen Kitt wrote: > > The i2c probe functions here don't use the id information provided in > their second argument, so the single-parameter i2c probe function > ("probe_new") can be used instead. > > This avoids scanning the identifier tables during probes. > > Signed-off-by: Stephen Kitt > --- > drivers/clk/clk-cdce706.c | 5 ++--- > drivers/clk/clk-cs2000-cp.c | 5 ++--- > drivers/clk/clk-max9485.c | 5 ++--- > drivers/clk/clk-si514.c | 5 ++--- > drivers/clk/clk-si5341.c | 5 ++--- > 5 files changed, 10 insertions(+), 15 deletions(-) Reviewed-by: Max Filippov -- Thanks. -- Max