From patchwork Mon Oct 21 12:15:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 177072 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3336580ill; Mon, 21 Oct 2019 05:15:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsjHNC1I5qXxVnIWck/fFraNqgGD1tB5u6h/PAqhgI9ydpi1RrEfCWGNToOpQtzRGKoa11 X-Received: by 2002:a05:6402:1547:: with SMTP id p7mr13490427edx.28.1571660140224; Mon, 21 Oct 2019 05:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571660140; cv=none; d=google.com; s=arc-20160816; b=KzPs+XX7zSNHox+NxvqvbXNB+0SYz+SaNZXHVA02zBH2L+40aKw2SXtm9RlC219U7k Lg2vuOcAAJvry96qNlFImb8DJCVPmPc8pb86SMt2iLnaUubrcvZpooAaFxnlRg5jnElu aTsUtgP77I42IIV5JTLpCXXg5hIXo2FJ9fQnP5sv6GfatkYXscH/AvC4tnJ7h4korPWh 7RARfKqGHhYwwsPTrbmuaLlM7ic2Sed4gSu1rwIxAAZavHcAYtKMsFDtPvt6V3VnYu7c CMaoRJNfFhBhLEjqJpt89WGmKGQZDuSDa5PMj5ZTPbaDkVbLeFwvuREBoPdAVpb3oqNz vybQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=xR7W1GwN0go/X8fLSEXaPJYIpihUkOKlEqRzolNBmOs=; b=TCpbbe8c+8E5jBgfDzDlgzOGODlHs2DzqwFekvtmGjWzXTh9IqHotrVL2GcuSxmFB5 5jbQyhOuHkLUfHOhpvuKLF+WhCzgbfKE2y/nMURwG6NqINmaGv5SkNxPF/MnRPBvde7I 9A3nBrdqSEcPmgRS4ajgKxs34uUTabqjaiA6x3LGB2hrqiL015EkM6T0A7bVn4WuvFs6 uNgD989vm+GjzrkbHJRi9m9WkBMuy8FcUgbiuf9iQ/acu2RRKNNNgWSIIq38r28MUOsG HH/J5RtoQsuqNvINzYqoNVx4hcFUlOXk35YwPJF8wY5vrSbg63B5Pt3xbtR0pfKXEOvh 3Wpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+Y0coRG; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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. [209.132.180.67]) by mx.google.com with ESMTP id p1si9643935eda.406.2019.10.21.05.15.40; Mon, 21 Oct 2019 05:15:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+Y0coRG; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 S1728682AbfJUMPg (ORCPT + 10 others); Mon, 21 Oct 2019 08:15:36 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38272 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728681AbfJUMPg (ORCPT ); Mon, 21 Oct 2019 08:15:36 -0400 Received: by mail-pg1-f196.google.com with SMTP id w3so7719209pgt.5 for ; Mon, 21 Oct 2019 05:15:36 -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 :in-reply-to:references; bh=xR7W1GwN0go/X8fLSEXaPJYIpihUkOKlEqRzolNBmOs=; b=h+Y0coRGMly4KE+nb6Ra2tV4nrilADDUYPnv33sAaGK1eugmzVW/FzZHN5W0m3X4o3 UTml0Vzf8Z3tWGUifXS6P2VyXfqj1WfCsp9tnanGN2S3CDux8EIriXWqHoWKvE5bIP8k f2GOQYC4fQaP1Og3jqa7m5W1neAhuF1Ud7Hs8VgcazP+JFZ9rfw0RNxK2EjI6iOoQJs4 aQqyFEG0Zro+ajeqx3snZUlUr9CJNTzzsNyDHBF+XKqwtamsA+aHldGw395f1V9akZCl wGLZ+eqPPvlIss2oVUQXfASrOgnarubvZ+rVKlVANfx9SBRLyjxjVo1DkCdv+TuQJn3z k7cQ== 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:in-reply-to:references; bh=xR7W1GwN0go/X8fLSEXaPJYIpihUkOKlEqRzolNBmOs=; b=AFOklohycGhXhVA/VOfOr8aB2uTh3PTY+6Cz4JtXMR6MDdKiyG9XBNjauG8FGC5pxL tLdzdIz3Z304/K9C70cskCXyYzPdlziFzHuT2UW2hoU2IAkVJkfG0brwSzIxF3DBxJs6 B5oyRkmHz1pVo6CALVegi6sRWzHzESy0z2+dKoPc8Byom+wNKrvIz8EUdpm6Y14WGLeU lfONOuwXgEY5GDDYXpBSlD9hdC7Z4szOI3FFw8EFZRyFJONJOexBMSQChZujXRDmf71S XyKZoYWCWukuvjor9B3oNdvGihsr6TpLWOvCb/C5WiNNAcPFIMS06xh5fOzjpnOyPB54 S4BA== X-Gm-Message-State: APjAAAWfgozZ2uUVaKpeSDZ4gc4pGk7kZbShPJXUfdEZezeOOQPhqRYA lNvKh9xCJ/Lq00HXYk4bbl+WIw== X-Received: by 2002:a62:1646:: with SMTP id 67mr22946275pfw.128.1571660135774; Mon, 21 Oct 2019 05:15:35 -0700 (PDT) Received: from localhost ([49.248.62.222]) by smtp.gmail.com with ESMTPSA id x10sm13800801pgl.53.2019.10.21.05.15.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Oct 2019 05:15:35 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, sudeep.holla@arm.com, bjorn.andersson@linaro.org, edubezval@gmail.com, agross@kernel.org, tdas@codeaurora.org, swboyd@chromium.org, ilina@codeaurora.org, "Rafael J. Wysocki" , Amit Kucheria , Ben Segall , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Mel Gorman , Peter Zijlstra , Steven Rostedt , Vincent Guittot , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH v5 4/6] cpufreq: Initialize cpufreq-dt driver earlier Date: Mon, 21 Oct 2019 17:45:13 +0530 Message-Id: <353c745d4ca1feff600bd44154c01c013f185ca4.1571656015.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This allows HW drivers that depend on cpufreq-dt to initialize earlier. Signed-off-by: Amit Kucheria Acked-by: Viresh Kumar --- drivers/cpufreq/cpufreq-dt-platdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index bca8d1f47fd2c..3282defe14d41 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -180,4 +180,4 @@ static int __init cpufreq_dt_platdev_init(void) -1, data, sizeof(struct cpufreq_dt_platform_data))); } -device_initcall(cpufreq_dt_platdev_init); +core_initcall(cpufreq_dt_platdev_init);