Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1344005ybg; Fri, 18 Oct 2019 16:21:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqytCin0ReCMJbtjZQMOGSMrMA4s+cQha/lfQ8+Vu2A9ye6O/OXVuJC6/t2hHKfquIj+hYEc X-Received: by 2002:a17:906:3b45:: with SMTP id h5mr11305667ejf.200.1571440909907; Fri, 18 Oct 2019 16:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571440909; cv=none; d=google.com; s=arc-20160816; b=MUlbBaWm9gs/fRE/jhZl+6276RbKZ+MVlA3/AdcODFQ0/vKN0dH01j+vgAnE4KFuOv AK2mHRXWzWSMV6TNl0/mmIVmtCoTl3/74adBKdKbgVvyBORXNYVsWOwybs5XBcuxSJiy j0f1ckeiseliHzUKikdvKjKuRg56F0H9HGkBuQxrtT+AbHghcOmMVO7VBvpuAY/4L2fj T9p9d7Ih7moW6fBlBBJyPpMlyTHgIrz6NCbWljUHFTvlX80D+I3KB7mFVzRVvYn7Y64q jD/jkt29nYYifBzg0GS7LnnB6danImeAWzLoVVU72BLHvb3DOgp9wZ+yZI6EUuZowaE3 ORNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AkfYmQ4O8U9nyTFe9h6GxC4H3eeJ0+Nwd0lHpM483sk=; b=rwNWOI6o2+bHFaZxkH5V6gPeespikuPqnsEtR/q7vAawaA3raQT+/E/6RAeVSAnrY2 EUznw3SD3x2RTlQyszrLYZ6bYhLQWtbI7KivAwyJLvOGYFEHB+c4f5bbzExoaBxfS0Pm KdAXZAYJ2supowylVFN85PROYDlXbMKL736UJ2xYF+M+IzWoM6Pjb1q5hy2LrD55MiFx wiXcdNKn159HhQP1wzxdz3IXtDMKos3VA61iTAmbe5oeJkyPrXtHL/bpQXRxwu3JP84L e3410ZLJ5JXmv/qSAen3XXVGnSpLJfFk4hSL114UzhsQX6P1Oys4s+P7puFwYatuuERS Eh2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yeLsMwtA; 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 d1si4609223eds.148.2019.10.18.16.21.26; Fri, 18 Oct 2019 16:21:49 -0700 (PDT) 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=yeLsMwtA; 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 S2407125AbfJRGGD (ORCPT + 99 others); Fri, 18 Oct 2019 02:06:03 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:45514 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392250AbfJRGGD (ORCPT ); Fri, 18 Oct 2019 02:06:03 -0400 Received: by mail-pl1-f196.google.com with SMTP id u12so2309027pls.12 for ; Thu, 17 Oct 2019 23:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=AkfYmQ4O8U9nyTFe9h6GxC4H3eeJ0+Nwd0lHpM483sk=; b=yeLsMwtATcgUDkbIWuxXlpKdBXQt/BL/j4xWz7fVqIGu9xF7SDWWEMZe2pc8JNqzLX eJCtVxdAJVIpvpmrPA3AbYZp0tzr5grKIjN2DZLe5dtNcsz0E51dOwSKtfhuwUeFYqoo HSzmjKEp5USI7dQm7HMT+up9L9+zsqPK1EYeq66CJqlCaznPrHF8KwpLcVK3P5VFCiD7 h585OJIM/3Tfyl05WxrbtDvfysJ4orlblNIWTh3kO1H4o1v8qZefPlMzyIw/GFkszk9G yjYUKIzrVlHNs00QVm7pvU46RpokVMUOA9iynKTkHJFki22hRxg0RL4Q1Pt17b9R9lbu YtWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AkfYmQ4O8U9nyTFe9h6GxC4H3eeJ0+Nwd0lHpM483sk=; b=qXBqCjvta3fk3PjEkMvidOEGiDGeWZ09p37dxZOHQ3SoyUtsLw+V4zXaB7xxIY17Bh +IM+wbH3W8tBVU1OKFOaH9pEKmxEhOLeMfBfEwBXpvSj/9XxSE/5UT6g3nzYpcuYOEss 54wVnxiiBDWLpAY7OOHdilDdsr8+DFC/obqQzIi40d071v/bfM1sOFSrxjJSiymMroBf BNL3iJ5Uzd+5c6EAQVkzrzOBT4pqnpoMftezGC+jWo5Q6Sww5HiQUyccejtVmMPuK/XL 6MPj/Z5TNwaZxSRklcNV4VZ4R68RdTD5ILi8jlC4wCrwg1pWks6Biy3EPkLVCr1Jz353 9PSQ== X-Gm-Message-State: APjAAAWXE+/7Vj18n05ei98mJGaQqI9VIM3q6APE0kc/79n9IGpXESmz SeD3gtb/tbw3JXma4GIcXWLDIw== X-Received: by 2002:a17:902:b20a:: with SMTP id t10mr8053142plr.277.1571378762778; Thu, 17 Oct 2019 23:06:02 -0700 (PDT) Received: from localhost ([122.172.151.112]) by smtp.gmail.com with ESMTPSA id b16sm7929986pfb.54.2019.10.17.23.06.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 23:06:02 -0700 (PDT) Date: Fri, 18 Oct 2019 11:36:00 +0530 From: Viresh Kumar To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@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 , Zhang Rui , linux-pm@vger.kernel.org Subject: Re: [PATCH v3 2/6] thermal: Initialize thermal subsystem earlier Message-ID: <20191018060600.oj2qf5tuqu5agfmb@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-10-19, 17:57, Amit Kucheria wrote: > Now that the thermal framework is built-in, in order to facilitate > thermal mitigation as early as possible in the boot cycle, move the > thermal framework initialization to core_initcall. > > Signed-off-by: Amit Kucheria > --- > drivers/thermal/thermal_core.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c > index d21b754baee2..d8251d723459 100644 > --- a/drivers/thermal/thermal_core.c > +++ b/drivers/thermal/thermal_core.c > @@ -1537,4 +1537,5 @@ static int __init thermal_init(void) > mutex_destroy(&poweroff_lock); > return result; > } > -fs_initcall(thermal_init); > + remove the blank line please. > +core_initcall(thermal_init); Acked-by: Viresh Kumar -- viresh