Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3668963pxv; Mon, 26 Jul 2021 09:04:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLMBYVk9S4ru3AucBXcLKYMb2V3HK+qtUDKkbV1OrvmFumQVs+5D5PGCv/pnIGBN/26Ws7 X-Received: by 2002:a92:6503:: with SMTP id z3mr10578378ilb.258.1627315466474; Mon, 26 Jul 2021 09:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627315466; cv=none; d=google.com; s=arc-20160816; b=rlfjW/rMhEYhgPPPedavR7/F9MGQXJeVfRY03N20zqUKYfHj457vmnfadxdWrLtl2+ SD746eS11jcYOifM8sBeupiWgwJVxjML+1f4bTFmDUc7St3Q0UeboIKq646+TU2ArfOC a12TgCZ2M9ZD/9Wx/q0pohpF9LPLn9SCi/sHfGiCrJ/x2RoKJmHfYJ33x1o7J4mwi7Eq 4vkFnnMzl8w+Hr/0fc9SRxibttiSlThBzj4AWK8K0BdmidIjs15LLBOi/X9S7aG2R4GR snXsuhj18Tk6/1rKhQnT3JbZ/ZaEnpjsgOO83lfi93fyWuYz6WDQj6x1JXcEOohWoIrH OQ2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MHYPk2r/nmygk3kBeFEBC16gtIhw9oQPcYjBWBAbX0Y=; b=nHC+L7M4XM3xiTH7s8gGC62bgmC4a2HK1qS+5Tw9mBU4jrbe0lQDLtpCcAnYfLSzcR od61L0n4fVg3Mgc/wmy2d7Jqn15rLzneVPjoGKK4Wq/bNtFZf9GUmMgddhSzWUqK2VKD QY4F65e4ZSAkQPGbNUAudgmXeutoj/TG49pEttMYWdQWx9WnetyiVlxzo2N1+K6PlPnG EyCA2Fmz9ckM/b4NkpnJlgGPa7CR+AAS7p14yac8+UaDldBGpIjoqb2x9vzzK87fQgj9 ocINxBEMtcYVsUNlw8qmYAP+yr2b5F4s2oC1UPdHmZRdRuLfXlIty1HZZVPoJKIqeqfb lHqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JO6kTygj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si262977iog.99.2021.07.26.09.04.13; Mon, 26 Jul 2021 09:04:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JO6kTygj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237001AbhGZPVg (ORCPT + 99 others); Mon, 26 Jul 2021 11:21:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:52812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236613AbhGZPLq (ORCPT ); Mon, 26 Jul 2021 11:11:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B6A4B60F6F; Mon, 26 Jul 2021 15:52:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627314735; bh=A1HJsKKIIFuuOcMwpY8BkBE7yIht++ib0hSmFLvF1V8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JO6kTygjBNdaRd6l/v92jnS/bxIfB1twqagro2XNGHsegSwVveYgKi/7tYdj1hZNW hqbzibQMzUptTZ93HlQ3ODsGGWbQWEwTiuqD3RPklFUjAgeHBvl12qq9fcaaIwB8DG OYJRsNQC0RhGmMzUr/TBmBQ4wnCJWS7xycDoGj8s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yang Yingliang , Daniel Lezcano , Sasha Levin Subject: [PATCH 4.19 027/120] thermal/core: Correct function name thermal_zone_device_unregister() Date: Mon, 26 Jul 2021 17:37:59 +0200 Message-Id: <20210726153833.265912998@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210726153832.339431936@linuxfoundation.org> References: <20210726153832.339431936@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yang Yingliang [ Upstream commit a052b5118f13febac1bd901fe0b7a807b9d6b51c ] Fix the following make W=1 kernel build warning: drivers/thermal/thermal_core.c:1376: warning: expecting prototype for thermal_device_unregister(). Prototype was for thermal_zone_device_unregister() instead Signed-off-by: Yang Yingliang Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20210517051020.3463536-1-yangyingliang@huawei.com Signed-off-by: Sasha Levin --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 7b0ffc1c0ea9..a24296d68f3e 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1303,7 +1303,7 @@ free_tz: EXPORT_SYMBOL_GPL(thermal_zone_device_register); /** - * thermal_device_unregister - removes the registered thermal zone device + * thermal_zone_device_unregister - removes the registered thermal zone device * @tz: the thermal zone device to remove */ void thermal_zone_device_unregister(struct thermal_zone_device *tz) -- 2.30.2