From patchwork Tue Nov 22 18:48:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13052648 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 CF9B5C433FE for ; Tue, 22 Nov 2022 18:50:07 +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=lDvAkUHsQcKBTxmoqcdvjTMrs8I2koR5nWzeCl7gxnA=; b=gKdJA3gCKtV4Zr 3wuE9wvvDf6CYowKo+G0mZ1vL2NvZpV7hP0VGj0NV6FyF/lq2TP+WdzmvD8Nx339JPP30QCJJQSF6 lXCtnNgQ3raYti1tV2jNkOi7+qLLz0bhiMZviD1M9Inw/WazCNLdEbEyYKraEGzhYYDvmY6w99kJS GTpgX39ykKZOaqnR+DK8dAKMJtsSt+FwrOeCYqqsvVvQ5cDKfe4JHNIWv625yPU9tAEihiG+XEawx eBWq7tliUdE8lFbTxg3HxDSrAkqReHqJaaJEC2Cv5fBEQE3nQ/wCPNbrdJyPxN6k1PzIHUkHQNdEl 0al3n2HIednYkECZ9rGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxYKJ-00BNwW-Li; Tue, 22 Nov 2022 18:48:59 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxYKH-00BNvh-Ji; Tue, 22 Nov 2022 18:48:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=YfM1vBW5FbfOtVOuQtqHeHKritwtsNX3a6kj2I381xc=; b=YJ9I4P5C7cPeqjjr7uzZ7li19Y 5krtlru1ATVA+szEwubOaFnkjgnILi142q8we895NYzctoLwUeOLQgQzHe+2uQVuT+/zTZqq9MoYf AKGaNr/o3zAbPmkuQf+qU2iXc85a2X8GYOrGhpXRd6I8p2IKzrqIgOmtzrxkJEcaCDInSBZrfy2/w SmxI2H3ETt/l/TVZP9+hXiEpx6juoeW7xRy6N+asc/EGoqMRo6pzXB1kHVgI2C80Qyeo+329yIRNQ 8f2IY8ohe/nnAsuSfQ3NST8AbG8m9nSy572Bh1pkczxqQN8OwcwpIMcYW9Mx5GZV2YOiQQkRVvXrM EF5bDPGA==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxYKG-006egc-ME; Tue, 22 Nov 2022 18:48:57 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Yang Li , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org Subject: [PATCH] clk: sunxi-ng: fix ccu_mmc_timing.c kernel-doc issues Date: Tue, 22 Nov 2022 10:48:44 -0800 Message-Id: <20221122184844.6794-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use '-' to separate the function name and its description. Use '%' on constants in kernel-doc notation. Use the kernel-doc Return: format for function return values. Fixes this warning: ccu_mmc_timing.c:21: warning: No description found for return value of 'sunxi_ccu_set_mmc_timing_mode' Signed-off-by: Randy Dunlap Cc: Yang Li Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Samuel Holland Cc: linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@lists.linux.dev Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-clk@vger.kernel.org Reviewed-by: Stephen Boyd Acked-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu_mmc_timing.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -- a/drivers/clk/sunxi-ng/ccu_mmc_timing.c b/drivers/clk/sunxi-ng/ccu_mmc_timing.c --- a/drivers/clk/sunxi-ng/ccu_mmc_timing.c +++ b/drivers/clk/sunxi-ng/ccu_mmc_timing.c @@ -10,11 +10,11 @@ #include "ccu_common.h" /** - * sunxi_ccu_set_mmc_timing_mode: Configure the MMC clock timing mode + * sunxi_ccu_set_mmc_timing_mode - Configure the MMC clock timing mode * @clk: clock to be configured * @new_mode: true for new timing mode introduced in A83T and later * - * Returns 0 on success, -ENOTSUPP if the clock does not support + * Return: %0 on success, %-ENOTSUPP if the clock does not support * switching modes. */ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode) @@ -46,8 +46,8 @@ EXPORT_SYMBOL_GPL(sunxi_ccu_set_mmc_timi * sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode * @clk: clock to query * - * Returns 0 if the clock is in old timing mode, > 0 if it is in - * new timing mode, and -ENOTSUPP if the clock does not support + * Return: %0 if the clock is in old timing mode, > %0 if it is in + * new timing mode, and %-ENOTSUPP if the clock does not support * this function. */ int sunxi_ccu_get_mmc_timing_mode(struct clk *clk)