Message ID | 20191012065255.23249-8-daniel.lezcano@linaro.org |
---|---|
State | Accepted |
Commit | 60518260cab21e749704baa5246ff13f7559fa91 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1777890ill; Fri, 11 Oct 2019 23:53:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqx40XmDYfyrBiZxGfJSV2BTN7UpNSJZ8z5UHf6/JucwZafzu6/HO5WxG/qxzqElAc0o0S9w X-Received: by 2002:a17:906:250d:: with SMTP id i13mr18166831ejb.275.1570863205426; Fri, 11 Oct 2019 23:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570863205; cv=none; d=google.com; s=arc-20160816; b=NLCyhCtbvOex3w9vGPl65zo9yJoCTjBjnjQch0nV7nSdUXP2KBERPJ3ytxHUI0JPqM 4rLvzXH9aLXHp7e1QL0N8DIwiTEpifhJbbpTyz/Y1zWtF1asBhYj9xtGzwAql6IxiyTf vOl4eiF81KRuwHWzpSsc3b5KgGkVqCSye1x5xHeMfiXHUCyZMNZyiS/dEVB9wirq/CE7 iw2LloQ0hKTJjmEMl8qsSuynH/5V1LCXOgpZqLFLgpj2OKvloX9FzW0WB9b+LYEc22+U Xqx/kvSG1ydLdTA1GkJkta0FAV0+ttNdhSqiFRiGCAmQWEdfV6z6tfWhF8qQg6VpOliL zbKA== 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:message-id:date :subject:cc:to:from:dkim-signature; bh=pLeOxxToFlzhf4ijtkJsBjt2I5eCWkMMUorTQgLbLE4=; b=fjM6l5vbwmokK+gr7N047VlX3YsBiFild5wItsECNAoKEVDOl5vKXsWCNpY3cQnsSe oj36jdvIIxoYWu7iiIsAnqiXzZl5coFYafGcLndzUaCOl5xSakab/0x77n6GpEdCMemo QvC8upcfZ5Fv0Xnk8Mr4a26rK9QQrnKMlvnPMwXs8mYU6ZyZ1QjuGuhhUbYAcn9fp9aX Bemj7wfWvTqxq0LgbDRcWm/613kngU+OXItQgvPAlkrBlgzJ6/406gRBmFKo42jSyuEH RdUzoCHXR/kLXzbANVN0uvAGA3q06EBO7jEVXjEIg6d90DbdDC8NhCQpHZXyulrXh0pW AdIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JybpEL8S; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f26si7033787eji.55.2019.10.11.23.53.25; Fri, 11 Oct 2019 23:53:25 -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=JybpEL8S; 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 S1729107AbfJLGxS (ORCPT <rfc822;lee.jones@linaro.org> + 21 others); Sat, 12 Oct 2019 02:53:18 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55372 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729054AbfJLGxO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 12 Oct 2019 02:53:14 -0400 Received: by mail-wm1-f67.google.com with SMTP id a6so12324918wma.5 for <linux-kernel@vger.kernel.org>; Fri, 11 Oct 2019 23:53:13 -0700 (PDT) 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; bh=pLeOxxToFlzhf4ijtkJsBjt2I5eCWkMMUorTQgLbLE4=; b=JybpEL8SzP1gopHe6/v2yw1y51wtcs1fuJB0dYf7mGfUjS3iYBN/CRa+RRYd0rjeG+ x8BctNK1HUAzfaNbSDjgmLHjMM57dTBo6emq8ZjevWIww1cIedjSAVZQY7SlLcK9wV+0 ys5H5G7RaE3WbuAkYrmKk9GAoy81UIP3wfvyKxsYctDwCf4sexj8RFrkScz3QgLDu5v0 g4TWxoLW9OanFianj4yoC+/vbVyaxtnaRZP1PIC7MFPZbbtDPR5HZQMWnY1tru3MOMkt zEtQ8xrwjHw62uA1od4g9xFDkaKQslqhChdUI174bkfIofjmeo5in2OqFvGrpG89KV7s Sk9w== 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; bh=pLeOxxToFlzhf4ijtkJsBjt2I5eCWkMMUorTQgLbLE4=; b=ZMERGl/JQkSTVzDqh63PBMbCgO5ZZ6X1xxCKFmqKtWKuw/vVOeIB/X9SMuvPE1gN+o 7YsE2i6lvKiA3mDHy2+xIkL0YxLCqoyeQLzdtVh/iK+Q/nDHvqySAjAq+/5AU1RK8zUJ y+EdDNUMmhNUHRSO65VYiaJlFidVVX0Y58HvNRz0Rx6hDHsDHHvxsnM5b/rFki0BKjWh 2C8h3Ze7i4lM0S7hlSn7IUxY4T199sQQrxSxdMSqhnRT5kN3ol0mJOyjFTpPRROCa+7J DxmtHNZK5Ig7G1NyfvGWMllo4GO/Nk6BVIFiswbIQT2eHBqVe4O9ELffhwcORU7XDM61 DgbQ== X-Gm-Message-State: APjAAAXZMLFpMQqBwx540Lr99dygpADn/oJklcc0RUt1E/YyDY2HMFoO vB2VhIUbkm74GSv2BjkgIj1mju8mJII= X-Received: by 2002:a1c:444:: with SMTP id 65mr6152319wme.73.1570863192353; Fri, 11 Oct 2019 23:53:12 -0700 (PDT) Received: from mai.imgcgcw.net ([2a01:e34:ed2f:f020:f437:29a8:ed69:7bab]) by smtp.gmail.com with ESMTPSA id z5sm17450497wrs.54.2019.10.11.23.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 23:53:11 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: rui.zhang@intel.com, edubezval@gmail.com Cc: daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org Subject: [PATCH 08/11] thermal: Change IS_ENABLED to IFDEF in the header file Date: Sat, 12 Oct 2019 08:52:52 +0200 Message-Id: <20191012065255.23249-8-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191012065255.23249-1-daniel.lezcano@linaro.org> References: <20191012065255.23249-1-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/11] thermal: Move default governor config option to the internal header
|
expand
|
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 4436addc0e83..d77baa523093 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -384,7 +384,7 @@ void devm_thermal_zone_of_sensor_unregister(struct device *dev, #endif -#if IS_ENABLED(CONFIG_THERMAL) +#ifdef CONFIG_THERMAL struct thermal_zone_device *thermal_zone_device_register(const char *, int, int, void *, struct thermal_zone_device_ops *, struct thermal_zone_params *, int, int);
The thermal framework can not be compiled as a module. The IS_ENABLED macro is useless here and can be replaced by an ifdef. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- include/linux/thermal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1