From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A80CCCA47C for ; Wed, 29 Jun 2022 18:26:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229979AbiF2S0p (ORCPT ); Wed, 29 Jun 2022 14:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbiF2S0o (ORCPT ); Wed, 29 Jun 2022 14:26:44 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ABE32A711 for ; Wed, 29 Jun 2022 11:26:43 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id q6so34197211eji.13 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=OjMnki0FT8zmuhAKXluyNztUd3vMR1wAQTP03SjxLZvRvRS6qY5gOU3ZVq1lNQB5/M 1qGNS692uBekF201DdXb7j+ToV2R0HlHic549bGHJehDizfgk1Rp22ETPyW0nlUaKA2W 8agmr/sC9+A9jy+AiU/10TMXaoTd/eauxxmcxny1Dt+WI6nagHPYqx2D0pKdAm9W+KBT 7d0fvN0A2mE2afNGp6vUU87VxPJR7XrfZuqpBimGcuK2HMmWB4xvDVWQyAoH1lOI6jGD ypXBEk/Gjpx3ZVVaHhicJfmTqARnvGrE45spx8Gk4GPgwRYUYp3ZGXoZxRlaOMmPM4gj PddA== X-Gm-Message-State: AJIora/GQbqwQTBpsWXRN8ZGmZBdN5k/ijPrpPSF5R36y8HOPt+WbnCo j6lraJ7yZKSTQeb5VTUp/hvQXw== X-Google-Smtp-Source: AGRyM1sfeOEPxArayPtvXtsr5u5/zqpD7B812IZXeSbupwIKB9chVw1sBePnM8Kf/X3wTBnJz4Lgag== 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 Precedence: bulk List-ID: X-Mailing-List: linux-spi@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