Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7531286rwb; Wed, 23 Nov 2022 07:38:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Vo9MEPFAqv6V8Q7MUeVb34xcIzKHypAQdlwLyXX0B+ytftkN2Bn0l4Qljg6AwqJnCC1lU X-Received: by 2002:a62:b501:0:b0:573:1959:c356 with SMTP id y1-20020a62b501000000b005731959c356mr10226584pfe.51.1669217895280; Wed, 23 Nov 2022 07:38:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669217895; cv=none; d=google.com; s=arc-20160816; b=pGF8trKVHo0xLayumugBpfYfpdypOae8Xi+9OmA0xqmXiDWWxNhAU5vZm7mzQp/E8q ZElW4EHOjqzclTsf0P9NCvd1+oYm0Ridc38i8xjvbosKTIpK8WGcghq50PBhm0rUMH1P Unfb7wtLSXmHT5dn2HoP6G5KXx7va/viXPiGJzUrQrM7HZXcGJT6Vjw8tDHYNPOotbFH LdWGdeb4y8byFCDGxTfACMa9uJ1FxL1kVmVOWma++Q4aSzO5tSLPa0dEgxO4IGCk1LgM VPbkOODcTjkkuEnNWcKhTrRljCLL4BNvrHsTYilD7ORNJxIoNMZEVzEJOm4MgLWc88mr g9dQ== 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=pmxVk0+jI7QN1Jul5T2xjdT0JRY+RjuNAxMH4FWuM+8=; b=zdDbgPMfiZlbEDIpjc3cKgPKa69hjfBOhgwzwK3Mdcv44xzYRO+gFarx3LldZ07NaC 12crT/8AMMa4MedGm01XUMJJzJmRymtgl5rKJTr1k7xqza7o36cBDW1EG/duTf1lshtp oOec3XTOsLXc2VGQK2863EOKPZwU43Jfrhl8cyaYUfasp4sR+aRbePk/HgJFalnT4vCD RWzi0zTw+KvmbdIckKHahzoJarCOCSXUTeWNsEffFBAr64Gs1hnX+i//6YBRkbzhsq75 AnmbHiBBLm8sJdzsWA4MspXIvv++ACmeNNIWKtvC2kEMqTngd4Sw6WWZHekRKUWHQuAV YS7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZG0A8Bqv; 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 pj12-20020a17090b4f4c00b0021308f24606si2026245pjb.123.2022.11.23.07.38.03; Wed, 23 Nov 2022 07:38:15 -0800 (PST) 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=ZG0A8Bqv; 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 S235777AbiKWOoF (ORCPT + 88 others); Wed, 23 Nov 2022 09:44:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236316AbiKWOoA (ORCPT ); Wed, 23 Nov 2022 09:44:00 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94BCAE2; Wed, 23 Nov 2022 06:43:57 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 30BA661D2F; Wed, 23 Nov 2022 14:43:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4054C433D6; Wed, 23 Nov 2022 14:43:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669214636; bh=Y//1b3rNjcukiNpZ5Pvh7pYLjJ73zqnquLe7wn350Y8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZG0A8BqvT2ORUrlb7I1sLgQbAJlUfWRx4X3QT05SHfMJHOiZi+oRORqmZj+4Ve1sr yrWervl3veC7SaL/o17MVgz3Dhfcy0sfIdmXTsu4djT54VPEw3RJkWavMyc6YUx1SN g9poRnTZVXeouBC0UZFuX6m9uQ4XqT9Rm2SZUstZY6NdbdpCNIZXXUg8rJ/rXGDFnm xocVZ/NP1GyqV/SPtlOUK0KMz9pz+BK8ggFE9KJ+P7VJYkoo1Jc9GcfSQ0yDAa9SVX zznkZz4xqfL53zsXyhV3+8pHvNOb+T4KROZfGYgEnEdEcDbd2YXbZBbjcYD5dpvcKV yktlDGX0NXmHQ== Date: Wed, 23 Nov 2022 14:43:50 +0000 From: Mark Brown To: Geert Uytterhoeven Cc: Krzysztof Kozlowski , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Philipp Zabel , Sergey Shtylyov , Wolfram Sang , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v2 5/6] memory: renesas-rpc-if: Pass device instead of rpcif to rpcif_*() Message-ID: References: <0460fe82ba348cedec7a9a75a8eff762c50e817b.1669213027.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BKAJETaVx6g41XLW" Content-Disposition: inline In-Reply-To: <0460fe82ba348cedec7a9a75a8eff762c50e817b.1669213027.git.geert+renesas@glider.be> X-Cookie: I'm rated PG-34!! X-Spam-Status: No, score=-7.1 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 --BKAJETaVx6g41XLW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 23, 2022 at 03:41:21PM +0100, Geert Uytterhoeven wrote: > Most rpcif_*() API functions do not need access to any other fields in > the rpcif structure than the device pointer. Simplify dependencies by > passing the device pointer instead. Acked-by: Mark Brown --BKAJETaVx6g41XLW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmN+MaUACgkQJNaLcl1U h9Bcugf9Fq5kxq2SwxU/HdgpmKvb/nRaHNMV7D4mCFZNMxmkwUY4eMNTKzbpvly3 D4lSGL4xRZWS1hQVR4EK5Xs5BCj2PqvvYhNTAM4BLDgLP/qK/+8B9Ezs8PuSYDRg CRyR3HF7GGKhP0NM8Vj9+M+OoldvWwfAFp5wx4kp5henzsB1zSuwIs90Z4FxsQTN IiCpmwcBJrmDQcBwYeZL+rGYiVWfs5xm/7WPt/E5ssbMGXms/cOnhjMZHgexSFEv ZPT3WyWEY7Ka01Ri1OxtooAIgdQ3BHnxEswLJbAhJj5Reb9kPfvl8UN+6h1iV1f6 jLNoNQ5Gr5aHbQCbbs72ASpRcUqCqA== =evAV -----END PGP SIGNATURE----- --BKAJETaVx6g41XLW--