Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1317778imu; Wed, 9 Jan 2019 16:03:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN5kGWQZMKgj8/5zGv2qBwn1ONv3UCCPZwGpDABfeIl6Bk0sFw5JR6K1OsuLpd91+98UIpzE X-Received: by 2002:a17:902:5ac2:: with SMTP id g2mr8100391plm.313.1547078588545; Wed, 09 Jan 2019 16:03:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547078588; cv=none; d=google.com; s=arc-20160816; b=QfWMyulDqYwM8Ix4A85DQjuPDGp7PV/YabXb9LVVKIKanfpasUf37iCBJSgAvCCyn/ s+w8DEJy8CLZjgWNGVgCLgwH3A/vd3K6dO6g8y0Wrd9Xx0Z8mak9Mc6pmqeb2dnNrOuo XmCegykm3DNGrP0XJLkcMtyve9/T8Pl8QKoiAzg8E3xkaSAhZIIJs2D/ow6R8sn+75B9 U4bdfwfY2eJtzroj81vkACiwhCWSKbBoTmjN2XIenqi6pgCZFMkb/mJ47fqQAWRB6QoN XqkZOEwz6xDhNXeBvZIylpvcA/hggFJG/ag8Apx0+kpRNSAN70/WYGKpYkaUyRyx2D4D KBoA== 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=P7E60/i5ULtskb0FXpBa3pMJQ03Hyuz/IlsstPzfUWk=; b=rt5h/sQ+v5NDS0JclyiiIt3OIKMD9oA+Mu81HrzaIcqdA7/T5wOTgkeAo9wp7JfkH/ Qm2XwlvmSkE5bCFBPJTS50+RCDWqVY9Dxg7H1DTQ4lOouPqn8EtzSYiVxowe2zdzQUuf 5ac4icXremz2G+FK89OkIlS9t9zRSEBeYC/S8N78kAGYCE5pS7kr/C2mV5K2mHCNF1Ob d/t4tyRMCXOjb3A5W+OMAZeSYL/7gdOoGS35bphJ2rqLYTFtdEHRO1zvwAtOJEzlbsOG MUKwXmICuR3+mROc8tEjzpEwQOyIoQ5dbg31QxFe2Ce7xAWGX3BAhZx3gmbrovmsoCp/ 16OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ia7IWyfC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 j24si3018517pgh.362.2019.01.09.16.02.53; Wed, 09 Jan 2019 16:03:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=ia7IWyfC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726993AbfAJABb (ORCPT + 99 others); Wed, 9 Jan 2019 19:01:31 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45321 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726946AbfAJABa (ORCPT ); Wed, 9 Jan 2019 19:01:30 -0500 Received: by mail-wr1-f68.google.com with SMTP id t6so9396116wrr.12 for ; Wed, 09 Jan 2019 16:01:29 -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=P7E60/i5ULtskb0FXpBa3pMJQ03Hyuz/IlsstPzfUWk=; b=ia7IWyfCDRdmDLeuNpTKKt21edaajbCK3gTFT9kPHWL2oBsKN3rGtPxu5FFRJ5iSOV SostMS/8BVK/Jwec7CKqPMZfwtyhFhlGYJK1/LpV97MK9FqwRTZrm+jH3nJ0s+Y18Tiq xKr6xQ55LWwp/m909YLtwEiQ9CnM1OFiGv1z4= 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=P7E60/i5ULtskb0FXpBa3pMJQ03Hyuz/IlsstPzfUWk=; b=HeDvT5F75XQPkhfq937SNfoMXqm6Y3SAOwEqmUcsEak2vG3ivPGxcs+BYvNaMKpt5B FuTLnf7k/TD+XBqR+8fxHlWnJC96ROe6EAjfKmbK0No2BQUsn/p6XFS+XpsRp1bZJtLP us2pB4HSetszDuRMVmNOtO0mbt6WvgTpAOKTbKcorrURvajADSQwJtZiyJxV9V7/mzS+ 0Oa08cuIRsz+gpk4ksSjmOcFGOL4tnQa5BCTPJVQQAa7oy5mr1ZETUWLUIViidCtr3RC 5LttQqn6cnk6UkEV7I1n71ZRomunToMj0MYGl1Hj4iQKVSEmloCVRLmL+ZDkWnqSqab4 OIdQ== X-Gm-Message-State: AJcUuke9ccd9EXix9Q1NivKnRWdCjj3wvdx8tYKmpLb5T7HOM2snx3gj po/5lsWuTbfJuiT/eUV4UMoXd2Szx0Y= X-Received: by 2002:adf:f211:: with SMTP id p17mr6789810wro.293.1547078488517; Wed, 09 Jan 2019 16:01:28 -0800 (PST) Received: from localhost ([49.248.171.190]) by smtp.gmail.com with ESMTPSA id l20sm123599881wrb.93.2019.01.09.16.01.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jan 2019 16:01:28 -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 v1 4/7] cpufreq: qcom-hw: Move to device_initcall Date: Thu, 10 Jan 2019 05:30:53 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) 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) { -- 2.17.1