From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C4E7C47E58 for ; Wed, 14 Jul 2021 19:48:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 631A4613E8 for ; Wed, 14 Jul 2021 19:48:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240794AbhGNTuF (ORCPT ); Wed, 14 Jul 2021 15:50:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:38034 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235048AbhGNTqG (ORCPT ); Wed, 14 Jul 2021 15:46:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 254D261405; Wed, 14 Jul 2021 19:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626291754; bh=hnbTPOrjZ/gm7BRwbzNKkS7It7IJW0F8XyUqHtil/ls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aVRZtFRG9mhcSH11gEJ0HbCDRRRBmkxWv7bMDFNzv/By6az8QSdisG+88Szi7AWkB NlfgQGTCnXw9pg8VhV3/o4/AL/uyKXWru5AI7BsZRLpvi291MRC2a7Cem2/MuDGGBX MpgTylsImlILVawmJWaoIa+BS47Lt7tmPuErkEWlKpkmNFflxidFn42spgy1LRRKQv 2DfSe9ZtWxwrXp7Lagl09KK3jjbirP0V53oSaGXpq0PuZ66qI7oCiX9mD0N2cuQKI1 xmbi7aNhTolysyTRGJZEBBw+0q+IgbYH9MJzqLKALF7NVVbsLLlUHWqg5uhSvTEapf D2Ox+WtNgA6rg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Yang Yingliang , Daniel Lezcano , Sasha Levin , linux-pm@vger.kernel.org Subject: [PATCH AUTOSEL 5.12 083/102] thermal/core: Correct function name thermal_zone_device_unregister() Date: Wed, 14 Jul 2021 15:40:16 -0400 Message-Id: <20210714194036.53141-83-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210714194036.53141-1-sashal@kernel.org> References: <20210714194036.53141-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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 996c038f83a4..d1b85fc6f9be 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1380,7 +1380,7 @@ thermal_zone_device_register(const char *type, int trips, int mask, 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