From patchwork Mon Aug 23 11:33:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12452515 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=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 21D00C4338F for ; Mon, 23 Aug 2021 11:35:41 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DD05461206 for ; Mon, 23 Aug 2021 11:35:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DD05461206 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=vxkhJtP79uRB4IAFW89jPQbYFEFknsNhDo73RSsJ1ts=; b=EBu406oVl2i7ao rFs36BK8jzZhPG/PH2gcDKBs7LLYyfcSsOmOsjnavPU1X19Y5ED82uM6ctxceNIV7ILHMoTUCW8Rm U+wxy42QqH7CpGGrIi4rRZYWkX3NIqt3Y49s2fBCHe7AF/6ZyMntvPmLfM0Pb08XVl6B3weGbm9DV SvzFLIpC5+wLxfbv3Iv8ZNdLfj9YQXUBfQ48wSkLe8Nymz0RouwA0jKlIPvdAg/tr1iMC9TmrHYh0 4NFheqVExfk0OdDiqmIp2oGQJrvMaHj3gq90uBAtxl2pn6WUUCAGovfigBaHMUR9E+XXCA6Q8En10 H3nTyoQX7+O4ljaUYRKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI8DF-00GbcY-LU; Mon, 23 Aug 2021 11:33:57 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI8DC-00GbbE-FQ for linux-arm-kernel@lists.infradead.org; Mon, 23 Aug 2021 11:33:55 +0000 Received: by mail-ed1-x52d.google.com with SMTP id z19so1181352edi.9 for ; Mon, 23 Aug 2021 04:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=C2okYUf1AtblKbXwagU9YAK3CN+7qGUOMB9Z5HBBHko=; b=A+Ladic4SYAhhQwxbEd6g9Zl+UDI2GpD0djH9z3bsHqLihU08PgqEj53L22qkk1595 2hNEFm6lUpTJmjcRd+lNu9KJ3eAWga8UwRTxhSeq/4R8WoR/WOiHE7JAtIXCClQvHulY xODStzP/LuWGcIhIR+GCljJ1FFt+bOYqntEQe41zo9PapW+aIBupXaShv0TJIJ0FqExs nhz+nL8HrLoXwabDSTiXxF84X3HluqH627NjG2APmcylAs/jLxT5H2P+EbMJR/Mmz7SZ BVzCxg1j655HKbiR/7RgTDdGclBlZg7uMw1OFITgM7jC+j1ssffILbANKyOQZ2NSmooZ A6xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=C2okYUf1AtblKbXwagU9YAK3CN+7qGUOMB9Z5HBBHko=; b=sUQfuGpFzVMIFhQwm1HnmpQ+61uOfkc7laqN3ftWuEhI6rg965FcsPmHWLstCYxzxN J1PXkp3kykfuGk1v1lzt3k44xHbl9JzsNh/y1laqTveae8sCPYP7FnxU7hXcwdhZ3GN4 T9oWhO80eVdmPFjbDz9lwzIVPosavJglX9e2ch2DYidRmZqKapKZdJ5OUty93XnbTcC5 h1OqMye7//bh7Hq++YpomK9ryZWZJKmLIy4b4Z3TpDWvzAZm0QrFder6Djgdht4+UPZZ 1N/+Skf/Ngx5W5fSzw1lKMyPTvTp7BGNg0a8dhUvFhw0viXp0cwax9b/OBimyYOoRhCk o8hw== X-Gm-Message-State: AOAM533ycII2cEOg7OzB7gFkYlilxHWQ/gWlPqXqwf6XOqlvwPhQwQY6 +fdvfcPUl91CAvxPBSJIYDD+Gw== X-Google-Smtp-Source: ABdhPJyPqe+s/qFujaqzUWX1M4ldSixz6qi10KOX3mjL3/Q1Xe70hxlcXOID7+5ApG++uzAz9Tx0rA== X-Received: by 2002:a05:6402:190f:: with SMTP id e15mr8536169edz.171.1629718432382; Mon, 23 Aug 2021 04:33:52 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id v23sm9014840edy.21.2021.08.23.04.33.51 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Aug 2021 04:33:52 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, sboyd@kernel.org Cc: Michael Turquette , Rajan Vaja , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH] clk: zynqmp: Fix kernel-doc format Date: Mon, 23 Aug 2021 13:33:47 +0200 Message-Id: <26526e144296373b2c75e75865dd023158f9bfc7.1629718424.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210823_043354_605387_8D215314 X-CRM114-Status: GOOD ( 11.98 ) 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 Align structure and function names with definitions. Issues are reported by kernel-doc script as: drivers/clk/zynqmp/clk-gate-zynqmp.c:24: warning: expecting prototype for struct clk_gate. Prototype was for struct zynqmp_clk_gate instead drivers/clk/zynqmp/clk-gate-zynqmp.c:75: warning: expecting prototype for zynqmp_clk_gate_is_enable(). Prototype was for zynqmp_clk_gate_is_enabled() instead Signed-off-by: Michal Simek --- drivers/clk/zynqmp/clk-gate-zynqmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/zynqmp/clk-gate-zynqmp.c b/drivers/clk/zynqmp/clk-gate-zynqmp.c index 695feaa82da5..565ed67a0430 100644 --- a/drivers/clk/zynqmp/clk-gate-zynqmp.c +++ b/drivers/clk/zynqmp/clk-gate-zynqmp.c @@ -12,7 +12,7 @@ #include "clk-zynqmp.h" /** - * struct clk_gate - gating clock + * struct zynqmp_clk_gate - gating clock * @hw: handle between common and hardware-specific interfaces * @flags: hardware-specific flags * @clk_id: Id of clock @@ -66,7 +66,7 @@ static void zynqmp_clk_gate_disable(struct clk_hw *hw) } /** - * zynqmp_clk_gate_is_enable() - Check clock state + * zynqmp_clk_gate_is_enabled() - Check clock state * @hw: handle between common and hardware-specific interfaces * * Return: 1 if enabled, 0 if disabled else error code