Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1302195ybb; Sat, 4 Apr 2020 00:32:48 -0700 (PDT) X-Google-Smtp-Source: APiQypJIwBUNjDbJHrvmnTiTZxWLVOVGgoAxDUokTksY+kvi8JLaEXLINLIAlSi2HQdusLRkSFxm X-Received: by 2002:a9d:bf7:: with SMTP id 110mr10068028oth.259.1585985568648; Sat, 04 Apr 2020 00:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585985568; cv=none; d=google.com; s=arc-20160816; b=dUIl/f3HF2VM0vfg3Rm0xlTEZDyF0CjDSp3krr3EuylTAOvGBIzEVFSNLfFQwKrdnZ OCx6jPY3Mjk26axMUxSLoUrvmT9d/sRrWU/7gzWTN5f40EKbnqHSveBg1/OrvsAHGYdG aY6lNGmpjI6ldUIwPXv8ln0HLgc3rK5xtRej7cKoDo/nGKQ+Jq7yEJaWUVRJO1oFuHOH RQaS0DdyuTAGl8MbJb2N/WJZC4qIJXSyOucI8WWSJUM6v7WDGF/MZFZOFnE1nbzwvqNj OKwAGNRxXujdcVPROAdEqAatUoxT03hX/6WIk9Ye8eMbejYG1zQhpUJTgsOQRrAitEm7 64pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WYYENpUenW1mOBtwvfCGSxitkk6MXuBt0h7Pv0y2XUQ=; b=qolAT/hXeJpGRr9GaC/dmok0syFDA+kO1zYKQYalrfCA9ie39wBqqOf5AaVh6hNYey 08lbewUZjHg7ca4C1ioZSfRYAtSXJiOiXEfvtEEizwZPjCvgJ9f23JukuBtOkPD8uPY1 KNNAZVKFTVnIYChd+m1s6OtRSSN27rnqh2I+6jWV1/Hl+LGeY3PP6AVob13ZEJHAr/ow u3jt5E7e4JoQ5bPyZq12sboWI10zgBP4PsoqToQ2Sr/XQxdWage8qd2pOjXJeIUfW9wk i5QsEd8iSMQT9c7zbjtm/+1YDWOQ1PFqyxfiC4Ka/GpRtmBK6wWzCIlHkDuxTsJjSAUw Uucw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=ilFI7CUr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si4819085otl.298.2020.04.04.00.32.36; Sat, 04 Apr 2020 00:32:48 -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=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=ilFI7CUr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726327AbgDDHbY (ORCPT + 99 others); Sat, 4 Apr 2020 03:31:24 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:36919 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbgDDHbY (ORCPT ); Sat, 4 Apr 2020 03:31:24 -0400 Received: by mail-vs1-f68.google.com with SMTP id o3so6486591vsd.4 for ; Sat, 04 Apr 2020 00:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WYYENpUenW1mOBtwvfCGSxitkk6MXuBt0h7Pv0y2XUQ=; b=ilFI7CUrtJSEbObp2HesFPiTB4AR1aiGuk3EnDSRgtX/hwzeXMsExL2JaxO3jukIrv bcZq/X+c6g5rUrI0WibAck/3jqs7Lsf1ZO3RkQvy9GlgeUr5NBsDVaRSokXfeErqJH/m +ypokOKM2lLOG/f/i0r0id7QKcV/EZzcTzyro6x2KQdl8zo6UolTEDgOaM+6WpvSVgzX ZeSQPU4Z26g/Fubo9b6HdX/srMgQOQNwie9R8i31ifBU5Nt7PFmCPlJ9DO/mZB4wZvoy kGzWQpdQVSZ+Kza8C6OzMgT6xItrCu/zTyGVdqZHbSsA/36e69UeMiLIWjBfw+zVeYKr 2vmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WYYENpUenW1mOBtwvfCGSxitkk6MXuBt0h7Pv0y2XUQ=; b=AQG+E6+SdSSk6PleTPe95Bbixrb87je9TUbXMOeMtW+gve1z6pq+lu4b46sii7b4US OvJFV1Xd3AFtXrFGJfeJiG/JAjIiFx/Ok2vppYMtFGlVtyIJK8ivrk8/3+UQRLxDZxjQ d2CISMtL2Joh1zgKTFTb6poKptlfZ08TvekYVwH61T9vsVywm7iXoHIQyzALg1Jcbpk0 vSZ+tYicbb5pq1u7nbQRGH1RAgRyZ+ndbFYKKGdacq0q4oifKy3auT388jimWCmDzIAy c8U6/UUN1GjxazzDgrarbF8V69QkoiRx/ErjbSR4FY/TeZuUeQyO5vfA160XqzKTysc+ gtMA== X-Gm-Message-State: AGi0PuYDc3fv8x6+kN3JoskzIJMc4mSVlXYv9Kx8mLZ8GOxqBOOQ9tr2 B2BN894hcaO1f0cUralCM7MKI3l6tNQ1nhuRip0xtA== X-Received: by 2002:a05:6102:104b:: with SMTP id h11mr9409688vsq.182.1585985482961; Sat, 04 Apr 2020 00:31:22 -0700 (PDT) MIME-Version: 1.0 References: <20200402142747.8307-1-daniel.lezcano@linaro.org> <20200402142747.8307-8-daniel.lezcano@linaro.org> In-Reply-To: <20200402142747.8307-8-daniel.lezcano@linaro.org> From: Amit Kucheria Date: Sat, 4 Apr 2020 13:00:00 +0530 Message-ID: Subject: Re: [PATCH V2 8/9] thermal: Remove stubs for thermal_zone_[un]bind_cooling_device To: Daniel Lezcano Cc: Zhang Rui , "open list:THERMAL" , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 2, 2020 at 7:58 PM Daniel Lezcano wrote: > > All callers of the functions depends on THERMAL, it is pointless to > define stubs. Remove them. > > Signed-off-by: Daniel Lezcano Reviewed-by: Amit Kucheria > --- > include/linux/thermal.h | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/include/linux/thermal.h b/include/linux/thermal.h > index 12df9ff0182d..7b3dbfe15b59 100644 > --- a/include/linux/thermal.h > +++ b/include/linux/thermal.h > @@ -426,16 +426,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 >