Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp606375ybj; Thu, 7 May 2020 03:26:11 -0700 (PDT) X-Google-Smtp-Source: APiQypKAG0gEPy45PfIqw0YPetvQPHZ8nbMUPw7npZYrQ0z+EyqGQjez2lrBwnuc9fkGecA0UssO X-Received: by 2002:aa7:c5cf:: with SMTP id h15mr11465735eds.213.1588847171366; Thu, 07 May 2020 03:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588847171; cv=none; d=google.com; s=arc-20160816; b=goMctsaN9eyHM7GDkc8OfhT4CaTRXRmPsC5u1hrZDpGTRhYIajcng+lmmerq7y4QAI LCnNTCEWjefDzxjiUfOow5PcyVfgshmBIuZveJTdRR+PVAT8LUarzS61AhiPEjbA3syu 4LR4pTSctWsOnnn0SMWFx8sNbqq86MFIopyn8Ex3JjKRYMAhDqcfwotvWqqkvEvxaPSF TPdUkXFE0UknAKbCLjbQEmuhUdSs7R5gWzHMPqDgvUUXYgcIJ1mbz1zE4zJoR91CvYcH t8wGUaYLTse5ot6Nfkr4YlUkypZ1cVkYVRv7vYcrHpwGvACxwuIrfhcfyYEd9tGtIOhn ANeg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oo1xnFJoKnJRPCb1k/kpUqpuervQpCi0IylZD35uCtU=; b=uTLkav/PaK5Z7Ch1h1aSg9V1Zc5npozNksbRJmCZKDiyWaTs9f4+q/074N0eYRufOc EYiPLgTyfgIs6TFYvxm7OGwC7B+xCKr6dPOuJPvFjFT6BHxapaQ/XNbocfZhJd1XbKE3 kdTQ2+4TdvkJmga0GoQuwO63yaDrOU0njex/A8BVNNsYtkeVIwR5nSfMeSwjS5BojQ92 k8dOQHQZF4p2mzcoujMhXsAkOAThO8Bp3RUSf6ioMTx1J6iBWbw523HdHLmrITZuJXG/ TN/EK3f1xUHOXsd9CrgPqvQGu+/9BXOslsHWDePQypiNnKFTfesPrN0nTL8/r13yrupb a6iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="bFZX//5u"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci9si2901921ejc.125.2020.05.07.03.25.48; Thu, 07 May 2020 03:26:11 -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; dkim=pass header.i=@chromium.org header.s=google header.b="bFZX//5u"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726382AbgEGKYS (ORCPT + 99 others); Thu, 7 May 2020 06:24:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726007AbgEGKYR (ORCPT ); Thu, 7 May 2020 06:24:17 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F7DCC061A41 for ; Thu, 7 May 2020 03:24:17 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id k19so1891451pll.9 for ; Thu, 07 May 2020 03:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oo1xnFJoKnJRPCb1k/kpUqpuervQpCi0IylZD35uCtU=; b=bFZX//5u1biNAhAdVXKnxlQhgXZg0E2/qIYtejPF3hTyPzdudv+Hhol6yhMhe+pLXR qi4+lJDJD7wqFhb1fbU2HQ7nJpMx8oxCrZRVXU3DeP/7FtrWOGlSHLeIoomLn/ZIuZt1 UiMxHSLmOE2/9gbS6u8Dw1em28VAE3YDr4jx0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oo1xnFJoKnJRPCb1k/kpUqpuervQpCi0IylZD35uCtU=; b=JUif4v3D+91yMsVo4wqScj6g35y//6aQZU/7yeFQl90Z+yQOF9x0WJug3gQdZ4NXU5 gNYcdryPnrDZTQfZPrROkT8LGbMubdEyYVdXnwHW+JpB92sR6xmtbZokd8PHU4HjIwAV gYxCXqKg4sZOa0zyAiu/OBvDVaGo0mTdDDPe2uxi4kSh7yjRKRCy19kKF+xrpIvGVG3o J5sZ/bE/4ZLVJdoEL3UQr0CkdukurGiCjVOxh3mNK62G1cYbdTCl8mWpSVCjfC2Qxw+Z z/+cD8VwA6QUUqlWzhzf5/fD8OWCQORYmikW454ed+8U8zmPsb0sKzO9q5JvtpN9yoYu ED1Q== X-Gm-Message-State: AGi0PubGlkc+2lSwtnTGKEqKInM7iBnUvvj99Bax1mi660QGsQBpZ/vA +n4vktXbBP5d8Or9soD91pFrJ93rQiY= X-Received: by 2002:a17:90a:24e6:: with SMTP id i93mr14512370pje.13.1588847055212; Thu, 07 May 2020 03:24:15 -0700 (PDT) Received: from localhost ([2401:fa00:9:14:a92f:c47d:76a8:b09e]) by smtp.gmail.com with ESMTPSA id i185sm4408872pfg.14.2020.05.07.03.24.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 May 2020 03:24:14 -0700 (PDT) From: Eizan Miyamoto To: LKML Cc: Eizan Miyamoto , Enric Balletbo I Serra , 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 Subject: [PATCH v3 1/5] [media] mtk-mdp: remove mtk_mdp_comp.regs from mtk_mdp_comp.h Date: Thu, 7 May 2020 20:23:42 +1000 Message-Id: <20200507202337.v3.1.I0d52fd84fe481e254a10960b060f32c47ce0d202@changeid> X-Mailer: git-send-email 2.26.2.526.g744177e7f7-goog In-Reply-To: <20200507102345.81849-1-eizan@chromium.org> References: <20200507102345.81849-1-eizan@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These fields are not used and can be removed. Signed-off-by: Eizan Miyamoto Reviewed-by: Enric Balletbo I Serra --- Changes in v3: None Changes in v2: 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; -- 2.26.2.526.g744177e7f7-goog