Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp935285rwb; Wed, 28 Sep 2022 10:54:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7WkUP3inNzL+qnIJdplE05SlD+LDMWWsDFywRQvu7pjvYMRR+5bw+hKZWxxboOh9Y0RFIR X-Received: by 2002:a05:6a00:8cb:b0:52c:6962:2782 with SMTP id s11-20020a056a0008cb00b0052c69622782mr35871681pfu.81.1664387682473; Wed, 28 Sep 2022 10:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664387682; cv=none; d=google.com; s=arc-20160816; b=qAfikCpI0W6QpGzI/MyD56c3IZpWFWFg/DlxEQfTT/e71at4m1dA0AYaJQ5MJuFtVk EJ4MK/E+qa7fvXFIgsiEn7z9XPbyD86vW+jeuWwHrYTv9kCxDv59JoAeB80PsECO+RkI Dq7HDT+zJZtF5bECvYmqmCfkeeZjqvIZ6Sl5+KgrS6qJT2FHd4K5idkrger8A/KVduog 67ubiqTK88VrmpKQKCm2EBNOwvJuMbrViUDw9J067XpsAp8XKLsUSg+cqR7xi/L0+e83 KA8F5dBlSo6OvQ3HelNVnasOt493PlU7qicQpTyFFUwwtpno+D7FcmNYFpXaAWPRwVr0 rbjw== 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=ZXyuljFrQsEonNTux7zwCi9MjH3GxuADwA2Bx5m/ryM=; b=mTbGHLbR1tEwFPe/1CCtRGtM3uZYjjbbPmkTr8zc+qhSFMUzpTxogiJH7L1vTre5ri 7W9c2W4f2nE/2kyUKI0jSI50cOKEsgkiCq5wKiZC+jlgHE382X0oB2aHUGG+WaeEM37U mzQ3snClUFXH19cUakQPEKqLNl9sAAcIZsI8AhNsJBWzW6lkBUFNtzftgJ64sjDHJCtC PABvjDfkrb9/hh6SIvG1mU1KqR+qGLun5obIpvipq5+L+47INNH67pKQxNxquEUDCzhu vwVzc3tkJOAnZVUiX8IGOqGAaaRRfy2y9B3mhLWiJCIBRRNH/9lM/I1oF9Ho0kv4z1H8 ARHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MhsSNhCs; 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 w12-20020a1709027b8c00b00178b7f8c5c5si4083600pll.598.2022.09.28.10.54.31; Wed, 28 Sep 2022 10:54:42 -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=MhsSNhCs; 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 S234528AbiI1Rht (ORCPT + 99 others); Wed, 28 Sep 2022 13:37:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232735AbiI1Rhq (ORCPT ); Wed, 28 Sep 2022 13:37:46 -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 287BBF3720; Wed, 28 Sep 2022 10:37:46 -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 D9990B821A8; Wed, 28 Sep 2022 17:37:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C05CC433D6; Wed, 28 Sep 2022 17:37:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664386663; bh=ECgaTTdtQtgj0B6GlAF3UizrA/LkdiSssPfWpdOdeVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MhsSNhCsQZhnvWLeOFBUqZ7nTblu40aDDJr/vsB6x9Cb56GOdwiKYrAdBBJK3Eo7P 22/NIczfs9U2XjEuTvyPwv1D8SdaQYyppWM2QhdtQNnuo9CrrHDv0OLHusOS+6ebli zRaFVjnrZcnyUp8Pz8MyPTbLi2RSBq/dnuMhcEof/nuoglGW0hpVHPAW/YJqvKTkE7 mZULu9AGyIE5AUpJqoNNN5ne/mQnbF682GHkr8ZB6i4Rv3Fh+2f3cWzEEP2lCVmoWr UNj4B2wDtYUuPJXMWYFShwrPkMQ1wxgE6vYzIDakuqwnHpYG++LAeB8A75GZ5NqhBY P7D55Jpz0ydPg== Date: Wed, 28 Sep 2022 18:37:37 +0100 From: Mark Brown To: Sebastian Reichel Cc: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Lee Jones , Michael Turquette , Stephen Boyd , Linus Walleij , Liam Girdwood , Alexandre Belloni , Alessandro Zummo , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCHv3 12/14] regulator: expose regmap_find_closest_bigger Message-ID: References: <20220909175522.179175-1-sebastian.reichel@collabora.com> <20220909175522.179175-13-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RbcWQQl80xirt0Ff" Content-Disposition: inline In-Reply-To: <20220909175522.179175-13-sebastian.reichel@collabora.com> X-Cookie: You look tired. X-Spam-Status: No, score=-7.2 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 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 --RbcWQQl80xirt0Ff Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Sep 09, 2022 at 07:55:20PM +0200, Sebastian Reichel wrote: > -static int find_closest_bigger(unsigned int target, const unsigned int *table, > +int regmap_find_closest_bigger(unsigned int target, const unsigned int *table, > unsigned int num_sel, unsigned int *sel) So this will create a function in the regmap namespace in the regulator code which doesn't seem to interact with regmaps in any way? I'm a bit confused. --RbcWQQl80xirt0Ff Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmM0hmAACgkQJNaLcl1U h9Dd0AgAhHglwkClmkyAa+iAyQuyY1qiQUCN+lhIS4TUbfvB2UPo0KOhIxWmZBCs Ymo8jnBsQi/gMnptSNquEAEEAnLoGpm1QIP+ENVVpzYA+zstm+/DxlnjeWkPBoPI +2bBULFVQd7yOYc51SBjZXFKY7h7UuBsBfj0LdO8KcaBPTA8saiJAnORzwjQGBpU ulm9UzaPUUlFqlENSZXmixk0iEKF0zjdWO8jcVwjllKGoRl//0rGG+p9a9kyiZKv tEA0wlfXnwrmXBPmYdIWRn7wcOyLaMtb8ARBEZt1V2uoT9mmp4Avl9wJwZloD95B j21KVEAf4K5o4hHCVvQMZUmPDseoCw== =W08G -----END PGP SIGNATURE----- --RbcWQQl80xirt0Ff--