Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp873334iog; Wed, 29 Jun 2022 11:57:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1utMCFbWckcZUf8Ugp/6mBXf/F/y2RwP9Bc16Y+cw4dH4I4lU9G3AxXjQyJvt2kpOjW8uwf X-Received: by 2002:a05:6a00:3498:b0:525:448a:de0 with SMTP id cp24-20020a056a00349800b00525448a0de0mr11588562pfb.85.1656529032735; Wed, 29 Jun 2022 11:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656529032; cv=none; d=google.com; s=arc-20160816; b=Qr3Fy3j9A2aj7f0QmeA+kuytfgZ+Z8gxAAPSJzNTMT6pRnL7wD94wASuhrl519k+o/ 9+AaCZtLmOY+M3jhxZAMOv+66VqpZCS8XNx2LVJTPf+egnoNLQNucvvukqbZD54ES7J1 rwLKQgOxU/wfLTXLpy5W3X1vYb/YUqvJLt3Qq401Ei3jd3Wz580iK15ZZxdsF2Jc6uqn MamrelLQiYwhpNih9+7z1bySwP+k8eTaEftcRZRLf7XdsdGA1aF6dVatGldj8lT6J8jA dzHvvxvtloDjSi5p60O6uYlF+cDvEZephXsdhU2vAp4M2kZWnClilXZaCCftNrrWc8I6 RINA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/64xgRiUt1vtjHTJICjZN/EEDL0sMvHlhgMluGbsqx0=; b=OHTUdh6PQM2c25YWP6eqS3/5TufRGHMrFp49SFf3tC70/cl1H0PaGMdi4Df4Jgkriv 0KoZYInvtsEmsxJKwK9x25ktPkJFXYmqeZA9PUMvrvgrbn1OndfkKZz6LVVicxCg2TzN flT+QQcq7v45Bu5Ns1Do0CEpbcMVureMlnSia3Fev4kGOcf0qbas0BNf6UO33C5NoLjN U/PMdhCFWp2W9+J8OIsv3U6XbYnw+hcv1876DZvrKIC6e1p/ImMPJIBRORhvro7dKEcw Lpr2j/EaiuKe0btvWe51BW06EWdyFh1gnRDzX5pM0qj8mIJFggvl12T40+BeCToQ/i8K wBxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x2E4mYSL; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a1709026a8700b0016a308ea9d6si22520158plk.427.2022.06.29.11.57.01; Wed, 29 Jun 2022 11:57:12 -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=@linaro.org header.s=google header.b=x2E4mYSL; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230302AbiF2S0q (ORCPT + 99 others); Wed, 29 Jun 2022 14:26:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229862AbiF2S0o (ORCPT ); Wed, 29 Jun 2022 14:26:44 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CEEC2A73F for ; Wed, 29 Jun 2022 11:26:43 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id fi2so34233362ejb.9 for ; Wed, 29 Jun 2022 11:26:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=/64xgRiUt1vtjHTJICjZN/EEDL0sMvHlhgMluGbsqx0=; b=x2E4mYSLVh6dmMDXYftVhxRZrFhJRMJtLQeY1usKMwvluClkcCiiBN78Btu0KYl+rr VqWzaJIx/9upJFb2YZwy2jC8OCOL9QOTVaJSIzlL+u4LQpZWztNzn9d0IQ54v6HfxaWq qyE/rL2wCv/psLNSupk4hQ9d7ZW/Me2UtTq4zvMeeH7VN//7gc6tgOjR1pdLeciw92Zo O+4h8WNcFHiPaVci9RmHOwUDCcea+CuacUCBKxWlBhWAd+uSEtUg6X0gjaTgmc8XTcvb QpnEK0VgVlk53yf6eruRdTQIGKlco3P2ajT3gMWz6OIyLupkmxCBVAKvdH3abrmJhJnQ s0Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=/64xgRiUt1vtjHTJICjZN/EEDL0sMvHlhgMluGbsqx0=; b=S0wHgkTh7mQHyYmVgdCobcpdfjNDlquLLN5sM9SIE0ucdlofIjNGyqTx7lWHwuCgQW aObfCdxXsaksMu6nV26QFQzvPvvShXQ/X5CzeGY+DhPBW5Y3woKZ7sBK2vnesSSXw017 BKQrmLHozlBD84f93QzlSWvqwBHB4WR5o63qPN40ANLuMFN8Og6bCsP7u6rIQlBdSSKR aP0PSXmkyb29b1lujko81JhejLLXdcIxCCxI6ygRvnG8NsgXD5NE+LqWoJ+6bs3K6a9j 1traBjN6QO0m1p2RbPyBrg8ybuza8GPGTMiJX1ZHU5KqRX9fvMEVFYP0yUEOFyUc9AZC 6tPg== X-Gm-Message-State: AJIora/29QoC0b4UthrbY5RAuiFPuU8Aj4SaVaDHL3AaBnXKK/nO8vhN n/Zv9ez4+N+fhpQ09qshiVrxkQ== X-Received: by 2002:a17:906:58c7:b0:722:f4bf:cb75 with SMTP id e7-20020a17090658c700b00722f4bfcb75mr4766353ejs.450.1656527201890; Wed, 29 Jun 2022 11:26:41 -0700 (PDT) Received: from [192.168.0.187] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id le23-20020a170906ae1700b006f3ef214dbesm7981432ejb.36.2022.06.29.11.26.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Jun 2022 11:26:41 -0700 (PDT) Message-ID: <1d26b762-a2af-e717-c0c2-0a991bde5617@linaro.org> Date: Wed, 29 Jun 2022 20:26:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 6/7] memory: renesas-rpc-if: Pass device instead of rpcif to rpcif_*() Content-Language: en-US To: Geert Uytterhoeven , Vignesh Raghavendra , Sergey Shtylyov , Miquel Raynal , Mark Brown Cc: linux-mtd@lists.infradead.org, Wolfram Sang , Richard Weinberger , linux-renesas-soc@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Lad Prabhakar References: From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 27/06/2022 17:31, 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. > > Signed-off-by: Geert Uytterhoeven > --- > drivers/memory/renesas-rpc-if.c | 32 ++++++++++++++++---------------- > drivers/mtd/hyperbus/rpc-if.c | 18 +++++++++--------- > drivers/spi/spi-rpc-if.c | 14 +++++++------- > include/memory/renesas-rpc-if.h | 16 ++++++++-------- > 4 files changed, 40 insertions(+), 40 deletions(-) > I need some acks here. Best regards, Krzysztof