From patchwork Tue Dec 28 04:54:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 528733 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 0C34DC433FE for ; Tue, 28 Dec 2021 04:54:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231821AbhL1EyV (ORCPT ); Mon, 27 Dec 2021 23:54:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229690AbhL1EyU (ORCPT ); Mon, 27 Dec 2021 23:54:20 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0749DC06173F for ; Mon, 27 Dec 2021 20:54:20 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id r22so28743650ljk.11 for ; Mon, 27 Dec 2021 20:54:19 -0800 (PST) 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=NhhTB4bMtGMIPsjhSujSoDBT7+XKc5HHDwK6CwdMVeQ=; b=nnD7oIpNxKxNlJ0AIU0NB/6mILY179+iNjh1nG6TCVkd/N18PejpC6yAZKU55REOnT d5fRnYEBLgmN/165XN7trMNsTosgDJgqcaS/CUIyomm5LmAvr3dZO7v6fXot3Imk1Jb0 azjvcHdx1+LFEUR7O3UFBI3WI+7lEvlSsXj6jHNSygeq65kEBuu6rCyuDFhsZN8hY+0k EYLYvM7dMZXytqZ5BdVy7Lyw+c+YfH91RlwmJAqw6BiaHBGh3iH7vUbx1gAyROKezJt7 a6AHyQMTQN718AzxC31VM0zfGXdmp/M8IK11uBuD5CehITCL1FlycXtCfGkzcTGXwMz4 DiNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NhhTB4bMtGMIPsjhSujSoDBT7+XKc5HHDwK6CwdMVeQ=; b=eiMNPXXTb6kxJ8bsxd0rFfydgh81Pok151QzBy+qOFG7Drp56dsBUvSXeFcT5Rc740 N+F+1f/3mknuTAB04geRGxsdqEHInIaSLvE/sYLqSvQm6gQE6KEG5AajgHixpp128+WN +bzfDeKHQ8tvnkwBQbBiL9LO9au2wzVKUsIxj/1rTzwEA/45E6goIkgBHPxZ35YN7zV8 cpgpUwkCXy+9X0Z39JCL0DlA/tCHuheExjv4GKg3RxX6Myaf/sRfIcMY9nIr49kdg5b+ qz69FyWnVAHpec+l7apnOeqYZy8VAjVb4/yE86Uv1Xtl7kcMS7cZWbunaJWJXljfepeD AOfw== X-Gm-Message-State: AOAM532vH1VvKqwf+RS4Bwxlypu1kF0waTbG3nNg4XO7CtND6Ox6grOX Oa8p4DjsTjTukPGmkHfL5YGj9cSHZmOAzJq4 X-Google-Smtp-Source: ABdhPJweAvFgXWD1wzZXHwFd74+Q8gQ+ztADAsaAx2G40zsbDPM5BHy4II4ytlT1kUD7aFTuNs4gbg== X-Received: by 2002:a05:651c:996:: with SMTP id b22mr16267874ljq.139.1640667258269; Mon, 27 Dec 2021 20:54:18 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id cf3sm1822685lfb.22.2021.12.27.20.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Dec 2021 20:54:17 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Stephen Boyd , Michael Turquette , Taniya Das Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, Marijn Suijten Subject: [PATCH v4 01/16] clk: qcom: gpucc-sdm660: fix two clocks with parent_names Date: Tue, 28 Dec 2021 07:54:00 +0300 Message-Id: <20211228045415.20543-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211228045415.20543-1-dmitry.baryshkov@linaro.org> References: <20211228045415.20543-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Two clocks are still using parent_names, use parent_hws instead. Signed-off-by: Dmitry Baryshkov Reviewed-by: Marijn Suijten --- drivers/clk/qcom/gpucc-sdm660.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/qcom/gpucc-sdm660.c b/drivers/clk/qcom/gpucc-sdm660.c index 41bba96a08b3..d170353eccf6 100644 --- a/drivers/clk/qcom/gpucc-sdm660.c +++ b/drivers/clk/qcom/gpucc-sdm660.c @@ -204,8 +204,8 @@ static struct clk_branch gpucc_rbbmtimer_clk = { .enable_mask = BIT(0), .hw.init = &(struct clk_init_data){ .name = "gpucc_rbbmtimer_clk", - .parent_names = (const char *[]){ - "rbbmtimer_clk_src", + .parent_hws = (const struct clk_hw*[]){ + &rbbmtimer_clk_src.clkr.hw, }, .num_parents = 1, .flags = CLK_SET_RATE_PARENT, @@ -222,8 +222,8 @@ static struct clk_branch gpucc_rbcpr_clk = { .enable_mask = BIT(0), .hw.init = &(struct clk_init_data){ .name = "gpucc_rbcpr_clk", - .parent_names = (const char *[]){ - "rbcpr_clk_src", + .parent_hws = (const struct clk_hw*[]){ + &rbcpr_clk_src.clkr.hw, }, .num_parents = 1, .flags = CLK_SET_RATE_PARENT,