[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250811034539.175237-1-zhao.xichao@vivo.com>
Date: Mon, 11 Aug 2025 11:45:39 +0800
From: Xichao Zhao <zhao.xichao@...o.com>
To: matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com
Cc: linux-kernel@...r.kernel.org,
Xichao Zhao <zhao.xichao@...o.com>
Subject: [PATCH] soc: mediatek: use bool as the function return type
The function only returns true and false, and the places using the
function also expect a bool return type. Therefore, the function's
return type is changed from int to bool.
Signed-off-by: Xichao Zhao <zhao.xichao@...o.com>
---
drivers/soc/mediatek/mtk-devapc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/mediatek/mtk-devapc.c b/drivers/soc/mediatek/mtk-devapc.c
index f54c966138b5..33254a979156 100644
--- a/drivers/soc/mediatek/mtk-devapc.c
+++ b/drivers/soc/mediatek/mtk-devapc.c
@@ -109,7 +109,7 @@ static void mask_module_irq(struct mtk_devapc_context *ctx, bool mask)
* info to VIO_DBGs registers.
*
*/
-static int devapc_sync_vio_dbg(struct mtk_devapc_context *ctx)
+static bool devapc_sync_vio_dbg(struct mtk_devapc_context *ctx)
{
void __iomem *pd_vio_shift_sta_reg;
void __iomem *pd_vio_shift_sel_reg;
--
2.34.1
Powered by blists - more mailing lists