Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62013CD37B3 for ; Sun, 17 Sep 2023 08:35:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NDDgZ7FZ+IBkwTFUppLWpp5U1nXM7ojEwCoQ+czw1Ns=; b=FRI9+WYIkxl98f gunsbbqNmRxnaZ89ijDEcBA97UnN79khfgMNHp7avdbyeRTfatmbZqsrFHg4NVbkbjOsm3gM1Yo+D 0+DbyyCb516fDJQDpAbKeNTJQgi0hBRnDEaJIQtFP+kIVSoe6/NVJ1KA2A6IMubR2Xch97K8Ex8kY zKIHNT4CQxP80BcBpobS1wn9ScW7geA3i1xDyChWoB121s+SboWdCZ6JYElkhejS4UfwsVWrNQGKt 2Ni7jze5x+jNbbHejwgZ3yu5ub0lUFGUF0500AAtwLzCmndessTaN+IQMNcEMXyVHpVds2TB5y5be +RipUDqwv7BRN4DGZhxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhnF5-00DKcE-0n; Sun, 17 Sep 2023 08:34:59 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qhnF1-00DKbs-2m for linux-arm-kernel@lists.infradead.org; Sun, 17 Sep 2023 08:34:57 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-68fcb4dc8a9so3230691b3a.2 for ; Sun, 17 Sep 2023 01:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694939694; x=1695544494; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BK/UofqNnCW1HejZh6vEf0f3JWk0OhQLopWWHxVZZBE=; b=T7Q61LtRwpZMA6CHuBQIPoqnmBwCe4H44zdjne5vNxCrTNhAkH+qDACeUJNLdZpV8f 1kwdvCNzVFIVEhIcS+Ikakc3I5SbleVnS9IG8ZjYPE4JleHPHDU+TKRf4yXhz1A4kDH+ IP2HS8BZJqekajieJfXv5Ha+3X8obx3UB/7jZSgKtFPLS5FYEspH7sRHDhpKDdw8IPtc YrBVZuA7+IeazV9ByL14yo0gIzz82QC72LeZ2pDzm36tuu5u7fEOVcK4ncvoxpgkeMA2 +BXc4f1iKecNzxD32kQai78AXCfRDVnv8pspuHSjTCmZ4fnaacgjqTYVBzNeemKVlGVX fSFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694939694; x=1695544494; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BK/UofqNnCW1HejZh6vEf0f3JWk0OhQLopWWHxVZZBE=; b=AviKv49Tbv3Ikg1yAVaXo8QOMfavF1Ydkl+zzMdJ6aCkbOaWdsbmQ1crKuSUUKvXMY A/yX74CbU7tuZ/Kvnwr67bVvIOwc57fVasSy2ssSYK9dNw3FFg7O+4yqt8uUlKW72Enk wc4ehbwKyA1rdr2TGE4aGGGyAd30Zu9eT8MjH/mn58kNOK4oFam7xH0GJ3XP85bvaCXR 1CyB2A9c9pnZdRMZqfOg2uvowpZ1UlIbsUpwLNq/820/vdNhKUK4Bu/03SsBB1fl4oPh yjDkwja9XKVqct+TOji5RDEgH6hqgYmBc2vzraJK6d/bYOZg5febXyf880rkWk0xlX3z XlgQ== X-Gm-Message-State: AOJu0YyL/RS7aVCcFHJb8S+lLZEygWOBReYt83tc3yQ7Ao9xMVk/dQEz 2nv4AT5BDcMBDVVLDYxQJEM= X-Google-Smtp-Source: AGHT+IGvyr4SKwRt74tS2k5QmPoMTWHY78PGiQYkelnw/2nyygJ8tvP4DBVfLtpA6sQpsoLtdRBkhQ== X-Received: by 2002:a17:902:a3cc:b0:1c3:9aa7:66d2 with SMTP id q12-20020a170902a3cc00b001c39aa766d2mr4565209plb.55.1694939694002; Sun, 17 Sep 2023 01:34:54 -0700 (PDT) Received: from brag-vm.localdomain ([117.243.104.136]) by smtp.gmail.com with ESMTPSA id x20-20020a170902ea9400b001bb28b9a40dsm6307038plb.11.2023.09.17.01.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 01:34:53 -0700 (PDT) From: Bragatheswaran Manickavel To: rafael@kernel.org, daniel.lezcano@linaro.org, rui.zhang@intel.com, amitk@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: Bragatheswaran Manickavel , linux-imx@nxp.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] thermal: imx8mm_thermal: Fix function pointer declaration by adding identifier name Date: Sun, 17 Sep 2023 14:04:43 +0530 Message-Id: <20230917083443.3220-1-bragathemanick0908@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230917_013455_926138_2F5ED0C2 X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Added identifier names to respective definitions for fix warnings reported by checkpatch.pl WARNING: function definition argument 'void *' should also have an identifier name WARNING: function definition argument 'int *' should also have an identifier name Signed-off-by: Bragatheswaran Manickavel --- drivers/thermal/imx8mm_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/imx8mm_thermal.c b/drivers/thermal/imx8mm_thermal.c index 14111ccf6e4c..5dc6c18f12df 100644 --- a/drivers/thermal/imx8mm_thermal.c +++ b/drivers/thermal/imx8mm_thermal.c @@ -78,7 +78,7 @@ struct thermal_soc_data { u32 num_sensors; u32 version; - int (*get_temp)(void *, int *); + int (*get_temp)(void *data, int *temp); }; struct tmu_sensor { -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel