From patchwork Thu Jan 10 00:00:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 155107 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1281416jaa; Wed, 9 Jan 2019 16:01:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN6CGxqb6MjLTa4tAg9QDq8jPh4056aMoMvtVONi3uREGhI0f3l6K4q20n0nFo4bcF+cG3Ci X-Received: by 2002:a17:902:1127:: with SMTP id d36mr7797153pla.299.1547078491397; Wed, 09 Jan 2019 16:01:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547078491; cv=none; d=google.com; s=arc-20160816; b=pdJk0RkF+iQBwiTdxuEkY9Hd6FCTMES/zh0ICEwvIx1oY4PG5W8qCXMyzqZBCQrD+Z M45hyQSGHq/ytsZXs/9q/qECMYjMUi9GyP7BvO/df/ePiZBoPkf7HGHyFMYmHJPyFBUZ uw9Nbfbis3OBF/G3g/ttY2F06K6GdePbSazzYRt1jB4IQnBKfGeslQPeHCjTURKlAGX3 TbVwqzo/xHDyYMw0RSJGalv9k1IAiH/n5/JEXy7C5JjCFFYV9Q0AX3ZP3jQcCq06s3cq Q+IBM4tmqqda+OLO2auwd9BHDILxx/vch0MgdzKhH3po5m9pXS8eGHCTXRATX6iqQ1fQ TCcg== 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=br4mpJ5qCDeMFUMCpWo1NbsAItuT6fybh6s8cCbCuaZo9nfGGXecmTg4nISkAoXWbs 6QrkemMpvvY5bD7+dP0VFfBeOKMF4CInIjVtRO8dycXCNIqi9uTJjTcHH0aM/fkS+Dws KAqUq0CHb34P6lWaDiC80Pr1rc93cpyYZdXcbQXaNtHKdmuYBbf8N0s83MGugaEPTkjV 8su/7I2h17PdQJ3Y8YyPmm27GTo6vmEn6kCh1EyGDLZQiRJOOusubckzDubAdS0cot1v n/vvdvJTJhHepb0e9VehgZilVhY88w6gflWs7Ypo+eNs5vlJ/Wj6g8mw1rUJX6YiP/2m ulyw== 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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 c8si8616063pgl.507.2019.01.09.16.01.31; Wed, 09 Jan 2019 16:01:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726948AbfAJABa (ORCPT + 15 others); Wed, 9 Jan 2019 19:01:30 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41776 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726863AbfAJABa (ORCPT ); Wed, 9 Jan 2019 19:01:30 -0500 Received: by mail-wr1-f68.google.com with SMTP id x10so9421994wrs.8 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=XiqNTFcq/UWr9jK/7eqQ2vIRS2ZfXT7H/qZopgW8zKsOVTRB2eftda4nh+T6khu7ms DhZWOXMBo2NXvGNKLpeaYq0NhuCx7Kqs/d34QhaIksd9+7gZ4790kZVmue/Jw3dnuuUN o5Gr4jEp2XyJIltfJH+9h6hQHvu/8QUXLM3LWaaa1rXBUW+XY06XyP3aLczW7YxlksKd +sywXbdHiqnolYLe4DeDELiIpmI3RYDic7ABF+/h81GU5p2wbyNPp+30osxtH1iFmCEt N656hloTvc2sONR2i7IEeQ/d9NkE2mZPIo7lEx8I1v5et6sLiRk1gUokucHtR1eEsVlv 4HfQ== X-Gm-Message-State: AJcUukczvrvo3kIoTGcl/9UilvUC0iMDhExOTgMx85M2HQymh81vw40D pEwe1NlbGqTzNsSXaH9vBMKKdA== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(-) -- 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) {