From patchwork Sat Oct 12 06:52:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 176052 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1777921ill; Fri, 11 Oct 2019 23:53:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqza+QCnVuoLwN59GRhy8QJcgqk9DTpyWhEKmFicmfEidB7OJU3Urjsv9Vu0bf/Z5Cri6s/i X-Received: by 2002:a05:6402:3046:: with SMTP id bu6mr17464555edb.276.1570863208554; Fri, 11 Oct 2019 23:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570863208; cv=none; d=google.com; s=arc-20160816; b=O4Cj75evZ8f3qYtpOHL+VcVNRWjTqeJG7FqV2G7lwSFxUViSBHY1V7nLnJmCGtwDsb pxWmWTkU7o8HmDLxSaon6JCgIqjnB82qxn8/bF6DlFiVAjLEdi00hOwLIjGpLx6mTvFy ++quTiApL3SYeoLgvvf02Re7gQYMd3sPtLplqlbvwN6kZNhm8lX8duKTBW4uZO6ld11t mihAGx5CHL4VH+jAxP5P+SpmU1ifvO2Ylx+9vqBEwl1Y0Pu7Z5cXVZOJvcCats7L1WYu 9GyREfaLKaUT2kYOH2+ZabbltWorE0p47IVyjp/KY3FXlYBN/n1fqCj8Ng12JTV5LqC1 xcjg== 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 u12si7145433ejt.21.2019.10.11.23.53.28; Fri, 11 Oct 2019 23:53:28 -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 S1729155AbfJLGx1 (ORCPT + 21 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(-) -- 2.17.1 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) { }