From patchwork Tue Oct 1 18:25:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 174923 Delivered-To: patches@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp8488616oce; Tue, 1 Oct 2019 11:25:50 -0700 (PDT) X-Received: by 2002:a17:902:d916:: with SMTP id c22mr27403933plz.101.1569954350808; Tue, 01 Oct 2019 11:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569954350; cv=none; d=google.com; s=arc-20160816; b=cWVHRWOWl2NPARBhPFF0PXzhUfRTCDKKXxPg35TlfA12JtOHf1mzb3Ef90oY1hHRmK 7HkvPotmL7Ohv/xd+G7sCo+XEmrDsaIi3Jv/x4qDHxpS8ldVSUcTyG0WFIgqoWR9vWly ZCN0eptGkcPgFfk8ihvyi3FY/XrM6YEh43wmMhQhYEHcxRqtd3LJkC+/NOAERsB4d4yR ka/030RK/j216QPfpx7167HuO3ocjBlXr4K1oyUzXh9fwCK3dihEq/MjVrbOzZfP2l5S H+teQxd315uV+QeQZInkDiGY+i3flybgoHmb2eEjAx0WZ9L5x3F1kxAcB5t5EKB0NH6g UDtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=LzScokAJUZmfEzLyRgkBYA98Mp75br3n/i2JbQ8ioSU=; b=nPHNVOGW20YV264HT6CQpLHcYG+GD/kXZkXjsJ/NA39dr25Hc+mcJuAnDiXlET0L5x x/4JlJ224izXG/aRLpgiG3Wi2L7TlKBuPYZhq0uE3jIKKSSyYxJz2Upmpf0KclfBYPxF 08DKMqDGsvGq1zTkgUYKUJQdn8db+7xSJih9/R+17hry4TUFqUgzGCv3ezD01mfJuWxS Ojeeq5WXYioSG6I9oSSr1M6TUGYQm04low1mXlQPOtATBEOl4uR0LFET6z5vGN6r2q52 iwFhAavU/4S5uzMX32Zt+QUN3rtxxSKT79cFyAf/V2wnVNEvrStQVZuI/CKyo9/MhaZM rXHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Eel1qi18; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id v24sor3030447plo.39.2019.10.01.11.25.50 for (Google Transport Security); Tue, 01 Oct 2019 11:25:50 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Eel1qi18; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=LzScokAJUZmfEzLyRgkBYA98Mp75br3n/i2JbQ8ioSU=; b=Eel1qi18Au+svdpZ7+XVj5a8bXyXORVjJPkq8MNCvHpEEiT0X2QJpv0kweG5dD01GT 8jF1xfb3pML4lkci+3Mcza2vkDMURS9/pP2cU58heb6uUg/4zu/y8GXSNmzMXfFdp8f4 oxBUb9ko7sRM7Sla0Mom37zphpvPzi7WrsMN68t3kNuqSBtu6BhkR1Kyzib3fILZYHAm I6BZSGvfJ6gJj8MER91eVYp2ty+rsdUeqYv1LEoiuoQl71QzvREzakFiQr1mwgVc2fyL 9oYQ8mc6zZ6+SvhjeVy/wzaC7MRqeT4RvsidhvkAMDET1tVK6Y0ExYfznNAMET8JrzSD wbIw== 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; bh=LzScokAJUZmfEzLyRgkBYA98Mp75br3n/i2JbQ8ioSU=; b=gTLtMqMjXo24PGYq1tqJx0SiL/n+FhgEncxWzLXcH+D4+vyRbyHUKtSk2dsRvucHVt TBZGUKtjdoGanw1rV4wtoNh4n9ifwzoN6zv0FAn6sFHtGJ/Yy+lVyRRwqV5MpCqOJibI q3zfPn9bA7mGMshucNKn4ufltD1xN5gx7liTbOvmNgMB3aan6OFcL9G9lhOG/NpX+SS/ D3m5YVEs58qCAN+3mheE6ecOO9znBH3ySjsYsj9Fo1Ppxji6Mp8JnNStl5D1PaOQodJR ka4GH9/6VdYN/YR4dEYBzyz+qL1YBgUorU01DF/awgSdDksa5oSCq6W/3DOaD7eMD7u5 zthg== X-Gm-Message-State: APjAAAX/fdxFOxxJ/6ecxQyU13GrH7GpMvplJep5nsNHl05ODjX8jAX0 f+EELBHakEwhEksZY7W6s+7DPAso X-Google-Smtp-Source: APXvYqy/JN5Tukl6e1s+uskah3wczLS0qKNm1HHwfv24GZ0gm9S3ONW3SZg0fKBQSIEgdXHSBoByrA== X-Received: by 2002:a17:902:fe86:: with SMTP id x6mr27652483plm.28.1569954350285; Tue, 01 Oct 2019 11:25:50 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id e14sm3095996pjt.8.2019.10.01.11.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 11:25:49 -0700 (PDT) From: John Stultz To: lkml Cc: Peter Griffin , Michael Turquette , Stephen Boyd , Allison Randal , linux-clk@vger.kernel.org, John Stultz Subject: [PATCH] clk: hi6220: use CLK_OF_DECLARE_DRIVER Date: Tue, 1 Oct 2019 18:25:46 +0000 Message-Id: <20191001182546.70090-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 From: Peter Griffin As now we also need to probe in the reset driver as well. Cc: Michael Turquette Cc: Stephen Boyd Cc: Allison Randal Cc: Peter Griffin Cc: linux-clk@vger.kernel.org Signed-off-by: Peter Griffin Signed-off-by: John Stultz --- drivers/clk/hisilicon/clk-hi6220.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/clk/hisilicon/clk-hi6220.c b/drivers/clk/hisilicon/clk-hi6220.c index b2c5b6bbb1c1..63a94e1b6785 100644 --- a/drivers/clk/hisilicon/clk-hi6220.c +++ b/drivers/clk/hisilicon/clk-hi6220.c @@ -86,7 +86,7 @@ static void __init hi6220_clk_ao_init(struct device_node *np) hisi_clk_register_gate_sep(hi6220_separated_gate_clks_ao, ARRAY_SIZE(hi6220_separated_gate_clks_ao), clk_data_ao); } -CLK_OF_DECLARE(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init); +CLK_OF_DECLARE_DRIVER(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init); /* clocks in sysctrl */