Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1898890ybp; Fri, 11 Oct 2019 23:57:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5+Md7XDO7LeDqSX0rnQSZnkzfRyW+5Ta7mIZnh8IUQk+6yneDtiKFdMGRq2iUWMPWOjnf X-Received: by 2002:a17:906:2cd2:: with SMTP id r18mr17788497ejr.282.1570863424457; Fri, 11 Oct 2019 23:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570863424; cv=none; d=google.com; s=arc-20160816; b=G4BwTThAnRXTg3sgjFFUBz3Wo+odfl4stB3r2bB9VfC/W+35UPGgtKKFAY1PI/qry7 BI0bjOqnNDO65gwjjtqYG8TsNtZyWbSSXFIRqHI8IJedISpfZCA1Ohlcqi9XkZUOQ5Kb p/d6nGFaWDSiQVNK3kMdDhHVr9/7Q6laCcR/hGvnc9wdFqLsMGj4IPhtt7bu5lQyZCLx Ssp+RgP28KW+zW0JPnDclpQgtyZu/l8oI+qwHvRqAEST72ccMF74EInUfCz78qpip/rz CcV4iPVRn6KDenPUeGESjQ//ZHHE4GXdVfBov4LLse6n0/DBGLodq7WLxK/c7gVKdWjg htFA== 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=vSl/Ur1B9aK/gm2LM58l+jZvn+wzF8KR6Icoca7PTeo=; b=LmCIqN1T1aCZeNNbGwtoh+Z9Dz8lRgsFssK3YuR+AxYT5BlSdtt8eTOkFeGoEBCdHC YkNHaTeic/tiwvE2cdMUC8SBDxVelESXJOqohYdY8li5C5AuO54MiHQbPolGD8+tpI7b dBEePcrDd6pe0BisBmtqPYntssX7kLuHAbcnr7WG+/Z14WjQJSQCFRSUQM+Q8ii469EW LCWsLNOntr5ev7Ms2+fFf1vtJ52KHJggRgp3mphlu5rAa8ow6ZuuuUE67h2Qyayr6i+0 DORtF3l++nxl9p6jws6T357tLDVN07GwIM60PfFAWwIJ7SkJ/Lzermy+5Hnp9OaFuGkL KoMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tswCzgp7; 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 w20si7392473edc.202.2019.10.11.23.56.41; Fri, 11 Oct 2019 23:57:04 -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=tswCzgp7; 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 S1729145AbfJLGx1 (ORCPT + 99 others); Sat, 12 Oct 2019 02:53:27 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36595 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729071AbfJLGxP (ORCPT ); Sat, 12 Oct 2019 02:53:15 -0400 Received: by mail-wr1-f68.google.com with SMTP id y19so14100605wrd.3 for ; Fri, 11 Oct 2019 23:53:14 -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=vSl/Ur1B9aK/gm2LM58l+jZvn+wzF8KR6Icoca7PTeo=; b=tswCzgp7QkQx0AP2oQ0KYfFcbz/UIZZxnLtlyPNgDA7tENRvpjRyuCnTZ7UFzWxhTr 1m2Ss6xAd8iS0646KxYUqPFBdvXU9TZTBudSnjwtJb+SKPXK1TzQIblugN4gJQjc2bKE 5naSLq++3TK/v3kcpGvacmM+TvsEdaRUGggltf4NdJrLIVP6BEj5pSrbykk35z5fwvmc ciuN1/a13/o8llkNXw3L+PbtGBiZLFkg6tUOeoxqk3TwIthUH+zQdlfDCazhuZrcxVTm QDRrqiLAVXeGxF78BC27idXeRQH9Bb6d2eun8lxyd/ZINpbRpwh1XtQbQxVoGl2HDh2r HvVg== 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=vSl/Ur1B9aK/gm2LM58l+jZvn+wzF8KR6Icoca7PTeo=; b=dzk3Gnu1esbWTfVGBuEz06BfGS0uy4nTWS61/LBaq5i1UUO7UZ61M9gphXDNBa6S4D pmfRnWA31fTGKW+jmvM7sADVzoJha25sZVUTWT9b4jmDeOMi+MRkoHsVdbP9KqCN0Vay W01BDt0yFdzy0Wna1r6oD4dncD586waXc5M42zzeeglBmgBgG8jXg/aO7umE+XtxnPxF MpuBrA7PEnmBf57pE9zCJQHMqlxzQuch6brYTmz6uM09W/LnC5r5L45vcrV3sgKOaYqf VdIxpE+ibE7DwwxtQo3qXuQGKpTxTHQL+hSqUX/gUjGQrosZdb/M/VyUj+N4B+zjTHje AAvw== X-Gm-Message-State: APjAAAW0U8y0rZYoQrAHqUGFHwkLzX1d297NcmVGcp2mQ0uUrUhSSTrd cd0O3ooy9BHmnU2JGLo3XiC/bA== X-Received: by 2002:a5d:53c2:: with SMTP id a2mr16296403wrw.10.1570863193492; Fri, 11 Oct 2019 23:53:13 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 23:53:12 -0700 (PDT) From: Daniel Lezcano To: rui.zhang@intel.com, edubezval@gmail.com Cc: daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org Subject: [PATCH 09/11] thermal: Remove stubs for thermal_zone_[un]bind_cooling_device Date: Sat, 12 Oct 2019 08:52:53 +0200 Message-Id: <20191012065255.23249-9-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: X-Mailing-List: linux-kernel@vger.kernel.org All callers of the functions depends on THERMAL, it is pointless to define stubs. Remove them. Signed-off-by: Daniel Lezcano --- include/linux/thermal.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/linux/thermal.h b/include/linux/thermal.h index d77baa523093..ae72fe771e07 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -427,16 +427,6 @@ static inline struct thermal_zone_device *thermal_zone_device_register( static inline void thermal_zone_device_unregister( struct thermal_zone_device *tz) { } -static inline int thermal_zone_bind_cooling_device( - struct thermal_zone_device *tz, int trip, - struct thermal_cooling_device *cdev, - unsigned long upper, unsigned long lower, - unsigned int weight) -{ return -ENODEV; } -static inline int thermal_zone_unbind_cooling_device( - struct thermal_zone_device *tz, int trip, - struct thermal_cooling_device *cdev) -{ return -ENODEV; } static inline void thermal_zone_device_update(struct thermal_zone_device *tz, enum thermal_notify_event event) { } -- 2.17.1