From patchwork Sat Oct 12 06:52:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 176049 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1777844ill; Fri, 11 Oct 2019 23:53:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxivuD+pRCuCdf88jqYArVX/BY5DDSIW3JrgMaDKxtAshkOk9E81RGKZukQAfshsqFs8E8x X-Received: by 2002:a05:6402:1359:: with SMTP id y25mr3488811edw.183.1570863200412; Fri, 11 Oct 2019 23:53:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570863200; cv=none; d=google.com; s=arc-20160816; b=YBkispUDzF6N81JnnxcoUtkEjaBHCyCmIHB4N0obLcVjsVaxbQdxbLWqCmYQFuSHrk il4B49JPsEg8dYl4IjH4oG9e48iNozlqkOpKLu7ibbM9gWLyNvWQjePXm5J0lZf7mubL ye+ipUh2bPX6vx3Xa7vrBMeBnEjQinO27KxNafe032PFKaAGKPvJNTgKxsrlTg7qolC0 Zl3EQhzN4Ue7vBzXVIPWP2DLgy6xHPZPwxwwPt45p2/IuMPiAwxNpWhRMvVxokzs0cfH 3/18dJfQIPbgzxFguMivdx32JVDLG2Lwad9EBtvSUu6S9XM8YHi2c4EZBm/wOJmyE6cq oW7g== 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=xYNaygMbd21QTie4NeAZZNYx9YnNHVu9c1OqSN5Gf6U=; b=v7QBz328AkV0I4tk8rsaxGWeQ0Pj4fp2BitY7mzckA3JXjiaF1jhQISBDArRNVtAYx zVfTaekpXcaHLp/xHP0FojDURmYtKc8RL3ul+oHW3/yHUNTKhy7YYcLTaiHGQn2L+dJG hEt/7dZEGPDPTqj31sDhMra1pnXGpRJ7zpifiDRgORDQvV9lzC75/M5i7pyZMpf2KV2t yuLxH47ok5bKDsBWXCAz1r3T/3OJudEWfrSZl3gM18hDk7iIwXVpiGNgcL9+T2gkgRD7 r9nmN1/uZ1ME1N4cKfpmw9uHJ8drTgCRMyGqn8/+geWAJF1uDoL+PyLW4sSrNqYyko+0 HaRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I3IF44u6; 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 f26si7033787eji.55.2019.10.11.23.53.20; Fri, 11 Oct 2019 23:53:20 -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=I3IF44u6; 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 S1729137AbfJLGxT (ORCPT + 21 others); Sat, 12 Oct 2019 02:53:19 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:33324 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729076AbfJLGxQ (ORCPT ); Sat, 12 Oct 2019 02:53:16 -0400 Received: by mail-wm1-f65.google.com with SMTP id r17so10769351wme.0 for ; Fri, 11 Oct 2019 23:53:15 -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=xYNaygMbd21QTie4NeAZZNYx9YnNHVu9c1OqSN5Gf6U=; b=I3IF44u6t3ND7sZz0+JegnRFquaT8wyBcQgZnDZYJjkOm53dtMN0u1YYnfeakndm2/ 06GVx9P7IrJCWVCmZTQcoEcd+O49axRKnh9rKDTKwlGLQuR0OH1weuknLJJRoUTOgUE7 txg7zComQk04jZrPEDMG/Swz34kMNuE9Y8KAkJ0Iduk7ZgZRKtIOwhyISwSEVDsl2NdL kiwxJ5k4eTLAN65B66iw97wG5XugayifItdeMlmEeOeZBrpJxjFgcHluDbLeGdZozWU6 l4HYPilQfM7o2TFoMiwdUJzCR0O4k7fHZY7krwPIRChVfnim3RP9W2t82O4zhVEjzUoo 83Rw== 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=xYNaygMbd21QTie4NeAZZNYx9YnNHVu9c1OqSN5Gf6U=; b=TWxsMujOCMNczXQGDK6keK+baJTF8+tHqQM3V6xRIE+A2B9KMWYUcpqsAW+2B4ReId Ps8jSWn6NHY2ySNrAg48vpyByKMIWnqjexkWvxIS3SGkn7lGyvjuDvXAnfXibICJEP6y G6uZfC2G7kr3XvJWD1gv3H2qiMI/wFG4Qa5MIS7r0GqPK1tqAtqLxE2Cx7DmnuhO6s+d ixlXzqZH0DdkAFyTO9kU/EeJC9eIdPQWXz529V9+MXGllbK3d1gHx104QK5/+HiDaHSn MbiLQBqSwrjwASraL4YAdWhYV03ZxvH66S12PXquy789nRvr8OnFdwDI/RDJCUPCHktL YcRw== X-Gm-Message-State: APjAAAVGSI9NgoFyQWzoW8nHkNpPFYHYEzCdbluSlrXrFcIxyyYmJdj6 OUxtH5+QDTn6PBFnfdYVlVdyZg== X-Received: by 2002:a1c:2e50:: with SMTP id u77mr6567745wmu.64.1570863194641; Fri, 11 Oct 2019 23:53:14 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 23:53:13 -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 10/11] thermal: Remove thermal_zone_device_update() stub Date: Sat, 12 Oct 2019 08:52:54 +0200 Message-Id: <20191012065255.23249-10-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 users of the function depends on THERMAL, no stub is needed. Remove it. Signed-off-by: Daniel Lezcano --- include/linux/thermal.h | 3 --- 1 file changed, 3 deletions(-) -- 2.17.1 diff --git a/include/linux/thermal.h b/include/linux/thermal.h index ae72fe771e07..8daa179918a1 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -427,9 +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 void thermal_zone_device_update(struct thermal_zone_device *tz, - enum thermal_notify_event event) -{ } static inline struct thermal_cooling_device * thermal_cooling_device_register(char *type, void *devdata, const struct thermal_cooling_device_ops *ops)