Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp684717pxv; Thu, 22 Jul 2021 09:41:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+HGXIryC5swlL5tiUqxnI34RGsO53rfv4rW6Biq56q5IVOfa0PWWJyWwS7LHeSt1oln7L X-Received: by 2002:a5e:930e:: with SMTP id k14mr475878iom.136.1626972078519; Thu, 22 Jul 2021 09:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626972078; cv=none; d=google.com; s=arc-20160816; b=UK21ZaGQHYicxbugtYUWc7fAI+HirJlnhmcGNH3PTN2xheyw4EzVNriTeLvGjqbhhk YsD0bxbZHkNbT3irzvT+jRhLt/DAb6uqNLo5wLCYsSdHZB/ecrTrzbSVDeW+HSPkKSMU R0EuJtlUNVZRL/ygCSXNa0q42rMdemY1CXdGxbD+l7fA2nH+ji+OR4uGVbL1pdwSKxwV swkfJP9QxPa9z3EIe+s/h2QVwF06vS67P/QZjvZSA8y/wS/4MUzQaoSUXQcL23CAhVyF sTohBsC/NpGalf8TqySfgebMGYOWnG/Kku9/a0hIWhw7zgugueDrMQO0IOX3JABkJ+X+ Vp8Q== 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=mtAxURKFVLx/BXShAvsuPph8GyyN4cI5rhj21X5yhXw=; b=axGADVjMY2MRBFpkcnRoy95//s6dDU/Hq4j02xyz3CXOUgx186oQMQ/pjv9LZn2p80 lntiO1TK7lMRsAEer3YgNitqWfL/ayc0b8eTFltYWJfpekdxnbfJFdLHNFgvtJaQABYR 5KE6LkJniSLYdALMkd9tdbJuPZbC/QeBa7mxyjlsCT6atXZ76a2Cnz7SldH7IjAa7wYZ jjIVQHPcVkvE1Wn2ve3v2O4ALG9bS/S/PB8MH1KVfSbGSVyzSGH4U20/tk4Hj2tX0MGS ORxFaQik+rDtRfTPhllevVztc+ft3o4/DulDVjc8lUc+d62N9tpJOSxZ1GQmDcDAECew qlyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YXNGgK7d; 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 x7si37274344ilu.63.2021.07.22.09.41.06; Thu, 22 Jul 2021 09:41:18 -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=YXNGgK7d; 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 S233514AbhGVP7N (ORCPT + 99 others); Thu, 22 Jul 2021 11:59:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:34178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232896AbhGVP5c (ORCPT ); Thu, 22 Jul 2021 11:57:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7A7DB61369; Thu, 22 Jul 2021 16:38:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626971887; bh=HNn0LxKh4eLrP50xqeFSI1rrBtqzgykQ9QcpmK+q3MM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YXNGgK7dkilpGZk6lH63tSipc68PedllaGQL6pdfwL4r3a3qhRveW0vS8+VYboiXs 4G+QxzS6FmCZJ53C4OshwK5vDhfzFkndLhMGwocMyvcSCa/ESzC7m5DFtpGZ9mQ4VO Kwh6PvpCcdO6HpPCnUsXUm27O/v4Gq6N/EzBaoSQ= 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 5.10 064/125] thermal/core: Correct function name thermal_zone_device_unregister() Date: Thu, 22 Jul 2021 18:30:55 +0200 Message-Id: <20210722155626.821562655@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210722155624.672583740@linuxfoundation.org> References: <20210722155624.672583740@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 c6d74bc1c90b..e669f83faa3c 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1509,7 +1509,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