Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp693259pxv; Thu, 22 Jul 2021 09:51:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZpqWiH7KCviClIjJnpu8EJ/vSYgnOA7G5b1Yn13g3ekDFZgkCip0P9v2ieoBPN3gSgeox X-Received: by 2002:a17:906:d977:: with SMTP id rp23mr803435ejb.512.1626972699964; Thu, 22 Jul 2021 09:51:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626972699; cv=none; d=google.com; s=arc-20160816; b=awcfC8zEB9gTj6Um42T0t71nY9c5NFlyJLJbixoLz2RLF/AgAgGugUPBmlVltrG0s6 0o+9Qqa2MF6eij31ZI4QpScOT2AtpgXJwNTCc3aJ6XvZSCDhZzBBDGDl/bTEipvhhtkW 5Zy26cARprBX8IHYV8cVsvfslcwowRoE2LNPooCfADRzMsN1SBr0Z+y5hzgtUGjLnxRk JTZbTcSl3ZLFASZjx5KA+m07GvVx1O/XfLGfCblI70mKCd0Znh9zHblBneFwM5FA9qaY wa2Ovlc6W/h4+gv4TLtB+lmM9JaROiSAyWl/pmvXE6cXnEz7jsvdOqNANiDsuTe3NUm3 V6kA== 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=9hGDQVqN8+DuYTl7V8kVU42BnlQ4PbIcbyO0vEAzlFM=; b=VOcI1wWzMporiTxCjEqZPPl7Qk//nL+IfcuBhkqARVru2IQ2neObykPdeKXmh5RgPy BYfdc+1yNr8HOp6MeP0ARIPlFE8L8LPuGUYt+wGnqpncepnn9q0thI4GlQ8dWJ4Xj5JQ N0UlCXFiJST+zS2j8NKd2wLY4FlK49ZAEQZ+ofgkMz/S0PoN0TKU7Pw96E62sG/PhSh/ EJwbcVpgBkSntdMjxWXXiJbghU7h5X+Kfx8L7ihoo8SArUv1oCMshTU8ViriJHPzS5Sg EGfoBWPqmXrxMnQt8xJFh92UmYcktINaDt55wkWl5JTE/JJ1/Ot6P7E8rRi2pwNQ/6fs nGOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ppYrqu5f; 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 bd4si23772396edb.531.2021.07.22.09.51.16; Thu, 22 Jul 2021 09:51:39 -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=ppYrqu5f; 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 S234747AbhGVQIw (ORCPT + 99 others); Thu, 22 Jul 2021 12:08:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:42736 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233404AbhGVQFT (ORCPT ); Thu, 22 Jul 2021 12:05:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7FE4761CAD; Thu, 22 Jul 2021 16:45:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626972353; bh=OuL3nFFxsHIefUp/w9WmZlloQZUmHBrSmakM+iMhcMY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ppYrqu5fVQnDG7ruqnNYTVqenudt/f6e55oiLG3K7+WZG6z4yCzsrGJuPHfqgHJxB t3Px+kTLO+6T610VdI+kkjNb3wsKK1L91oMoBjpTDhPPWUq+fKqHWxuMm/1jwxB3GR yzFcLzxqUQYpHRQMndEur3ApCJ3xs2mVGYejvBwI= 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.13 082/156] thermal/core: Correct function name thermal_zone_device_unregister() Date: Thu, 22 Jul 2021 18:30:57 +0200 Message-Id: <20210722155631.042042041@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210722155628.371356843@linuxfoundation.org> References: <20210722155628.371356843@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 d20b25f40d19..142dcf5e4a18 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1369,7 +1369,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