From patchwork Mon Jan 14 10:21:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 155423 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3489146jaa; Mon, 14 Jan 2019 02:21:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN5rX9KxQ35TIzUsfybHhUolQ1UmYK1d5uwmIvf9F2NqWbi2WtfvyG6i3/nhD/PNaHDufJ2k X-Received: by 2002:a62:29c3:: with SMTP id p186mr25059289pfp.117.1547461289651; Mon, 14 Jan 2019 02:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547461289; cv=none; d=google.com; s=arc-20160816; b=AsCOv+JrhZw40pIGYDqV+KpMMmP0vdT/oubpqO8auxBA+ZrALIyiZrJflDpbqnii0s hwhS2/hFNT+FOK6lRq11x1dY/ldw5SHqqFd+Y8O3JpKKa9SGXdMDTG6o1+7kHqR+2u2M qv27H1emM5xM1uNBtghYD/7PuMDnGh/hgrnQYkjgxbC/T3WXZnxTiipRpJrsqATtGWQ8 mtKULrV8eUB+cNghRHpd3+e0uGK7OFbEsa0K18CsK3kmJCL54Yf+HflgG9sQxqXAPivx XkSaeuXfFEE4f0yPSiz/akLouRYkdUSVqTrAk/ROnVXU2FCTn1dUf/cwDptHYlnQFUcq nxMQ== 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=CxA8ebFB4r9OLZ96bqgPVVsxsgvpcqnBcZSvktTXPrA=; b=RYDXZ8gwhZfFmXbMTdfEvkkhahztTEdFAxHfoQw5fwozoR5p6ZdQpOSErlhLNfNxhk T3T2VY6YgAoroFbeB5AQyatewT7j1WzrQ+6eb5nztiSKETjNVsErvapP9dGTX2q3QStj +h+WC/Rs9QTV0QSYuJCYDrj2PZNXFeW2ea9/J5NPgs3YxIsVKpGHljBREuc6mdST1Oun jZ73j1mFdebhkVp7N5lFIUHi44uIm3eql2vqhkEA4ceNcllCgFgMURqzXk1fQuTxXCpm b2l+sCZppglXQBgZDmbrDjcHmoTmO2sGiE4xtDHZaleqlwc+2EAZTk2IHlUKOmSfeixb IRwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BeXpdXPJ; 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 v7si32693plo.12.2019.01.14.02.21.28; Mon, 14 Jan 2019 02:21:29 -0800 (PST) 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=BeXpdXPJ; 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 S1726541AbfANKV1 (ORCPT + 11 others); Mon, 14 Jan 2019 05:21:27 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37642 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbfANKV0 (ORCPT ); Mon, 14 Jan 2019 05:21:26 -0500 Received: by mail-wm1-f68.google.com with SMTP id g67so8216753wmd.2 for ; Mon, 14 Jan 2019 02:21:26 -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 :in-reply-to:references; bh=CxA8ebFB4r9OLZ96bqgPVVsxsgvpcqnBcZSvktTXPrA=; b=BeXpdXPJWTOyjVfEKcnsuBOavIGy7gWpa7ZK+wmEiGluSGhnRKP5bxARIEJBza1dh7 6h+HXqgf8LjTMw+8387u5M56b796rChvDvvHl7Gw96PhKYFnajv8VpE9Xre7z6pjeSZ0 MGK+1bHBoivW1wC05g3MczWDHDCj8gSOdsvj0= 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=CxA8ebFB4r9OLZ96bqgPVVsxsgvpcqnBcZSvktTXPrA=; b=uQ5XwCIlnFMmPgmZIFX/8vOi7CO0/5YyNH/MrMbP/f6rQQhGA88HPIdNVH4DZTUxUI Y00nvztgGQjEEKzDGMowQrQVyW8IkaNF7mDTPdYSEvhfA0QdTOnRf1TaJcbaxwBeEoaA CeI5lTaYs05QJY9GOE4+3C6taA2XsIbxnv7oWXGiyoh4tGJjnWt33HBGl/bU0oMW1aWc jne2aRAth3W4c4ID56boFkRyn5C40ixoe+2Rv3CyXelHTxFhA39hUzaqm/5fGPtuh4Gz Pb81cSuU4LSivcsRN2NSmZFpPQWDm7jnv0r3M5gJF1f+RAKAJLMfKe3TkrHzUHnY0VhI hBYA== X-Gm-Message-State: AJcUukc3gGNUgqku04V5bc5eX2Mvjf6VynbvOywaB+gaV0yIPXaDZC4Y 30y2eYCiOgBWdY4zMxQjcYjfsw== X-Received: by 2002:a1c:ab87:: with SMTP id u129mr11368856wme.104.1547461285223; Mon, 14 Jan 2019 02:21:25 -0800 (PST) Received: from localhost ([49.248.81.155]) by smtp.gmail.com with ESMTPSA id d16sm56370701wru.52.2019.01.14.02.21.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 02:21:24 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, viresh.kumar@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, tdas@codeaurora.org, swboyd@chromium.org, dianders@chromium.org, mka@chromium.org, "Rafael J. Wysocki" , linux-pm@vger.kernel.org (open list:CPU FREQUENCY DRIVERS) Subject: [PATCH v2 1/9] [ALREADY QUEUED] cpufreq: qcom-hw: Move to device_initcall Date: Mon, 14 Jan 2019 15:51:03 +0530 Message-Id: <2ae45b9263f51a14a7f672f40da2193caf174971.1547458732.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 (Resent to allow people testing the series to test it easily) subsys_initcall causes problems registering the driver as a thermal cooling device. If "faster boot" is the main reason for doing subsys_initcall, this should be handled in the bootloader or another boot constraint framework. Signed-off-by: Amit Kucheria --- drivers/cpufreq/qcom-cpufreq-hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c index d83939a1b3d4..649dddd72749 100644 --- a/drivers/cpufreq/qcom-cpufreq-hw.c +++ b/drivers/cpufreq/qcom-cpufreq-hw.c @@ -296,7 +296,7 @@ static int __init qcom_cpufreq_hw_init(void) { return platform_driver_register(&qcom_cpufreq_hw_driver); } -subsys_initcall(qcom_cpufreq_hw_init); +device_initcall(qcom_cpufreq_hw_init); static void __exit qcom_cpufreq_hw_exit(void) {