Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1966482ybj; Wed, 6 May 2020 08:21:46 -0700 (PDT) X-Google-Smtp-Source: APiQypKnQP+gT7hEtmkDqzluHR+lXI3yfNaKJI/rFeydG6tkr81/lg1Iz2KlgYazSzP2fulWD2F+ X-Received: by 2002:a17:906:1751:: with SMTP id d17mr7700272eje.314.1588778506308; Wed, 06 May 2020 08:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588778506; cv=none; d=google.com; s=arc-20160816; b=A7obhaCoQ4aEbKuMwquVP7BcP7x4remXDU/cQX4DSH97p30E/A4FJDcvZ2JfLMyLbY NWLFRLpz5XVtMHPF7NHeE2dVeR0PjLNaLUmBX7PV1N+3CQRdA5HUK/1xMGiv7aRG0m1h tI6UuAd6TdQMo0M/5Dj0dlrdDruosZGvKokLlfmoNYbj+Aboi216/2T4gm2PH8kGUU8+ SibLGXZd4Zfi7Ai6jP0rFTF99md4dJDxrAwkoDNxnNI5/dL/Bf+7QrJQJIhye58Eu3vH 0M1Oyn4zZ6WfqHLrIGXSK/o/PM3T/CqiJ28iB6A6RiUcrL2ud+DEjb3aGCF3n6N4Lglx 9kvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=fO/PJbdJ3L+xgSjxjDCGvtNeSiPzCWecqiZ2W4aTlhU=; b=O+Kn7pA50/LopcnaYhEkhOlwzXqcFtfMGXFzK5HLQkwyPnseC0VoTNcLTJ9rGBvcGl Bm9YMmVZXMa8x9g0WnRg4pRfMK76eH0NYK00pAL1gYBbgvPbwWNQDU/XXx+RtZ+ckCHk gpR41RPIjdONAoC0+/YlaMVBN72snzfRMp+FXkfx2FuM0p5vjpk5YMcbaJrQS5JT0EJV V97QGLa2RwjSdXL6jWm25hgrqeke2Ren/OEWtB8/sJZwjknNU7ZFDzqyfupGwm2RYf39 R3YiibvMJlYdPADTmOAB413Tb2043nWrFxNPm1hDvEAQfCS/PD67mkaoTM0RUpIVWWqs zHCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si1263446edr.485.2020.05.06.08.21.22; Wed, 06 May 2020 08:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729244AbgEFPTo (ORCPT + 99 others); Wed, 6 May 2020 11:19:44 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:55464 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728821AbgEFPTo (ORCPT ); Wed, 6 May 2020 11:19:44 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id BB4F92A2500 Subject: Re: [PATCH v2 1/5] [media] mtk-mdp: remove mtk_mdp_comp.regs from mtk_mdp_comp.h To: Eizan Miyamoto , LKML Cc: Andrew-CT Chen , Houlong Wei , Matthias Brugger , Mauro Carvalho Chehab , Minghsiu Tsai , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20200506054920.109738-1-eizan@chromium.org> <20200506154832.v2.1.I0d52fd84fe481e254a10960b060f32c47ce0d202@changeid> From: Enric Balletbo i Serra Message-ID: <0cd4d52b-e4bb-90c2-a5b5-a2e39169bf1c@collabora.com> Date: Wed, 6 May 2020 17:19:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200506154832.v2.1.I0d52fd84fe481e254a10960b060f32c47ce0d202@changeid> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eizan, Thank you for the patch. On 6/5/20 7:49, Eizan Miyamoto wrote: > These fields are not used and can be removed. > > Signed-off-by: eizan@chromium.org You need to drop the above line, for this and the other patches. > Reviewed-by: Enric Balletbo I Serra > Signed-off-by: Eizan Miyamoto > --- > > Changes in v1: None > > drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 1 - > drivers/media/platform/mtk-mdp/mtk_mdp_comp.h | 2 -- > 2 files changed, 3 deletions(-) > > diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c > index 58abfbdfb82d..c76cd61fb178 100644 > --- a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c > +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c > @@ -106,7 +106,6 @@ int mtk_mdp_comp_init(struct device *dev, struct device_node *node, > comp->dev_node = of_node_get(node); > comp->id = comp_id; > comp->type = mtk_mdp_matches[comp_id].type; > - comp->regs = of_iomap(node, 0); > > for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { > comp->clk[i] = of_clk_get(node, i); > diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h > index 998a4b953025..3b83bd6e0d8b 100644 > --- a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h > +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_comp.h > @@ -38,7 +38,6 @@ enum mtk_mdp_comp_id { > * struct mtk_mdp_comp - the MDP's function component data > * @dev_node: component device node > * @clk: clocks required for component > - * @regs: Mapped address of component registers. > * @larb_dev: SMI device required for component > * @type: component type > * @id: component ID > @@ -46,7 +45,6 @@ enum mtk_mdp_comp_id { > struct mtk_mdp_comp { > struct device_node *dev_node; > struct clk *clk[2]; > - void __iomem *regs; > struct device *larb_dev; > enum mtk_mdp_comp_type type; > enum mtk_mdp_comp_id id; >