From patchwork Mon Apr 5 22:47:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 415330 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4049519jai; Mon, 5 Apr 2021 15:48:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUk70Wpf6cxMUCLSe8p/cdsZjtiqrbe2OP/ZdFoKHWi8hbwGahAfod7pFZEaH57WE6BI3J X-Received: by 2002:a17:906:acb:: with SMTP id z11mr30941909ejf.193.1617662907344; Mon, 05 Apr 2021 15:48:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617662907; cv=none; d=google.com; s=arc-20160816; b=OkF4c2LgsYa0mgYtKBlc/4cJe/b2HyRMBOMPZHRu0KD1xNJxvRZwhkdrKNB/0EZ2vA xzsAgx+n+sD775iF1FQPQq8H7QXR0oxOvatYPQBl2XmipyySzhuI79Elnd6g+QF5QgD5 OlSnxWwqrvvbptQKEJ+Ky5/hzoPAX6Ro+ZQLD7EebxYdmxYEmB2rIxgII1nSnA3ADXkr jjWzKsF3M6awtnWZJ/tWWgNdnf59WjALHw+jq9Z3HzdWqF6w7+N8TjKMyblQcrwEBECp +IY10zUFjfEPqnz3icmJRn7D893JAwF5bUP0p5vqJ1zY0+6+LrTkN/CTB8iw+d/4gNRm 3pfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CirwHfRqNkxZ61ByzZxH4GAvvF2OlkI9rsYKqqpyblE=; b=HAaiPwLOHNyhpDAgny4/Q92n4oLrgRT8Xticw553tHWX17IpoKoLu4BGyCE/xMxcps mFWeMJtIL21dArAONEJIJjQUxeQtufW6RiWwVJFj4hKyoHXq/C8DBOVUZVol6TIAn+e5 dokJGdLWzpElGbtGf+ZFDrhBwtqaqRy7juI2+LL/m8wWhZL2n2aHp+klETg0f+V8/f3G hmXOIhmbaGXkFMod9vVDZ7rvcFjZ8roB6U6d4Xyd6Y+jJGo4+nNIVGhYYBIQJP2njgQB ew8UEI28/Avmr6Vuz3FFiB36kosTblgdv4Qu26sr2kweckD8+/Mqt8yOHU4TBmXusleg d9JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LtFYuxs7; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si15112224edt.42.2021.04.05.15.48.26; Mon, 05 Apr 2021 15:48:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=@linaro.org header.s=google header.b=LtFYuxs7; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S242868AbhDEWsN (ORCPT + 17 others); Mon, 5 Apr 2021 18:48:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242880AbhDEWsJ (ORCPT ); Mon, 5 Apr 2021 18:48:09 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B907C06174A for ; Mon, 5 Apr 2021 15:48:02 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id b4so19660225lfi.6 for ; Mon, 05 Apr 2021 15:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CirwHfRqNkxZ61ByzZxH4GAvvF2OlkI9rsYKqqpyblE=; b=LtFYuxs72d4/z3qRFG+7AznaUBkmtrpND0rMUYcCA/UhXgVC8Ul8vaxerWsAdbm6Z3 Ie0XaTAozbEEUeVD0Z2vdfZfg6YzZLNEa6YNXbP0/9+zZFhUB1/VA+wxmH+7WaBIgFCL eR+fucuKbp9raBOGjSVECfd2kFeMd4Ql5ISE/3riy2BCvoKdn6mzSQOCDj5u/EOmc9Wo ZYTPYdlQU4gyZ7Z/7OEqnJvqCpOGTibcaFvlWt5PL2nJLV2zKIQe1JINeu6d9D28xS35 phGFVGp9foAKz5+qn3+xVxkkKsmCRe9PR1dEY1FHyOHf0dw1rJQU/k7g/oMpxlDbqC6A 2g7g== 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=CirwHfRqNkxZ61ByzZxH4GAvvF2OlkI9rsYKqqpyblE=; b=fZ7/V8FVfWJN9eaWCVTk0Y4U7eQiNHJ+U4EqkQGPhIqDzYl+QRPNGFOUdUyV3wgxjp Pl5JDYpMpruqLBqz5YF0MBMrergm4vKBlbCcDOqZjFQL6kCq0kB6OksM9BQqJEcfPlWQ R6U0O4m+Tl1QshAxIOl1YFvJ1QUMXQfmhUk4ZxdFk8E4goG8siIYhB9LsTCv8u7nkXHr fDN3LhE6pe+Alncl/HB03DoT7AtNdfbKnqHbFMeohrfs8cHofhARmmu4mREKZV6EXHk1 XsrUa5OD/y/ywQSs5QA6duFDTIA9FpMgAZgkGXUA9ERu8E4pZst3/u6a1CeVw+8N6yxS A0Fg== X-Gm-Message-State: AOAM532NAqToV3s+fbkAFg4Js4sNBdJ9FXKODB6+E0mq0DFQo4U2ziM0 eu/PPzKUHB26z4ruqYqIvHBsQDWsYz8bvA== X-Received: by 2002:ac2:5228:: with SMTP id i8mr262048lfl.27.1617662880615; Mon, 05 Apr 2021 15:48:00 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id 130sm213748lfg.263.2021.04.05.15.48.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 15:48:00 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Stephen Boyd , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v4 22/33] clk: qcom: gcc-sm8150: use parent_hws where possible Date: Tue, 6 Apr 2021 01:47:32 +0300 Message-Id: <20210405224743.590029-23-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210405224743.590029-1-dmitry.baryshkov@linaro.org> References: <20210405224743.590029-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Switch to using parent_hws instead of parent_data when parents are defined in this driver and so accessible using clk_hw. Signed-off-by: Dmitry Baryshkov --- drivers/clk/qcom/gcc-sm8150.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.30.2 diff --git a/drivers/clk/qcom/gcc-sm8150.c b/drivers/clk/qcom/gcc-sm8150.c index 8e9b5b3cceaf..e642fe785c12 100644 --- a/drivers/clk/qcom/gcc-sm8150.c +++ b/drivers/clk/qcom/gcc-sm8150.c @@ -69,8 +69,8 @@ static struct clk_alpha_pll_postdiv gpll0_out_even = { .width = 4, .clkr.hw.init = &(struct clk_init_data){ .name = "gpll0_out_even", - .parent_data = &(const struct clk_parent_data){ - .hw = &gpll0.clkr.hw, + .parent_hws = (const struct clk_hw*[]){ + &gpll0.clkr.hw, }, .num_parents = 1, .ops = &clk_alpha_pll_postdiv_trion_ops,