Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3406624imu; Mon, 14 Jan 2019 02:24:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Lyi7fpjg7Twt7dYXgPSo6ZdQLeaQ8mY8TwUg4sI8MVChRPhqCAtQhymHhqKiw4TtwYvBu X-Received: by 2002:a63:6506:: with SMTP id z6mr22104946pgb.334.1547461458193; Mon, 14 Jan 2019 02:24:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547461458; cv=none; d=google.com; s=arc-20160816; b=u+OLBWjwkL0xe0dKCcqlmj7jD1G1ka5bNXv9DGT887yIKxeTDSkScaqifxyCLKoDsc W2Tdc3teM6H4CjN4KSvvIiVNT08WwAucdfzk+ZFOAUWQxjTtCaGmYl0+w5XJPDKl7WNI Oo6Ei/+iqgoVKV6i/ZUqO3wnGGzLZbvC79/bath9VSBR187XSZNctfxQl8z7ItcGDJqJ bjEYWxHWQ49xwzQ5w6qe/m3ujA+FFCo7PL54XDwzpeYBQqxSe7lkTDc4MF0BpWSlhAis kBna9yj/98jjUOgXIO0N0eTEPsS9tNDYTI4WXZQl8HW/K3r8/eEhaWICI9kqVy20lFWs VU7A== 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=xGcJzxYH3gvp5ldhVC05PUVkXWdp1SIC0EMNRUXzV1jFro+MGB1YDRZBsjBPHVVvKt TDo4Pe3gD+LPCt8bXu+NEbSWtFlORKLg8szBF/t4i/yr15uG/8vrJABeOFP+ZrOdkL3Q aR7bl+TzCDXPn1IfvNQ4P8u2eDDAMU9Ys00kQYUWd+V4NplOvNzRmhwVDYPF4jnObx8Z av/7yiSHH2bj+2LwzXc0T6SW42aIqieXujxLqW7PrekzeN5DxQcs1BElEP/V8OeyRM4G s4xOkoue+ZaxrJCk0SkqJJWheCn+D2wkcyGJGlWT0G5RSKGDLBPrf/EI8Xjq+6cWFBv5 i01w== 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-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 d39si7478pla.278.2019.01.14.02.24.02; Mon, 14 Jan 2019 02:24:18 -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=BeXpdXPJ; 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 S1726721AbfANKV3 (ORCPT + 99 others); Mon, 14 Jan 2019 05:21:29 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39847 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbfANKV1 (ORCPT ); Mon, 14 Jan 2019 05:21:27 -0500 Received: by mail-wm1-f65.google.com with SMTP id y8so8202360wmi.4 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=hltpkrEJQtgPomiU63q2+v8znoUZQR26HitG6YZyabUW5UBlpxBn597OFmzKSGygEY MqvkZlptY51maXkfnF1b4I2cq5KI6vxQuiFlnTG3Uy7E1JYbReUJgVRxxm0KXhEd9Gqt yODW19QFa+yaLIYxnO8hJZ7QY0/OP6RXs8UUjxTgWsqkZaekgortL7vW+A4Bo3VvOj5N N0Z+vq/lZdsA7DmCgnvSxfX4ZyFAaQYWUwsrVZCU8DurtUBXCbqgNVRp2Q27gR/g2hY/ qdoedB4XDdGABteixPswfdA/WoA/3HQiyF6bhUDSi1Q5BfxDHvpW+jZIoTVFVE8NSFOL K3bw== X-Gm-Message-State: AJcUukcyTZnl02Ze7DEfao+uv6GQOiMpf3SklJCuvlqlvkGGCQC/0RZa pa64O7ZlRWocJSQfvTE0Jk7099IUWAE= 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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