From patchwork Tue Aug 27 09:55:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13779292 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 E3179C5320E for ; Tue, 27 Aug 2024 10:04:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3/5VBNfYAsqRzbHrubk/0yjXqiOSkP3Dbb2C0/1kFpM=; b=BwYB9eZIFm9nps0+YiUPUTM/NT 5apllgftsCvs1HqWl2TYFtedRH4oH7EC5lKJF64XecxiIodhjJabYlQR9/saGEmhcPBihQCB/eJVV MF0EFO5ehoTVC4mpLjgzluYMtp0jgZ2TF+1JNRgsAPZegB5GYozrH5xi95bsCGtz+zpwx6IBxXXh/ SWY+t9jCfLqIjAbyBXiyidI3JkBE2UBgSnXRYCyF/GHJGUBxf7RQzU18P3FaH3eEaiND1aUqOp15N DnqU8xtMvsopQEZRHCvRv1aOJnRBG/Tw8y8PxhRvlEzvNdhbZomyB84ujwIwhxuAJVbtnMc0P7vqi XI7cP9Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sit3j-0000000Aj6r-3Ux1; Tue, 27 Aug 2024 10:04:19 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sisvu-0000000Agbj-0U4c for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2024 09:56:15 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-201fba05363so42399555ad.3 for ; Tue, 27 Aug 2024 02:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724752573; x=1725357373; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3/5VBNfYAsqRzbHrubk/0yjXqiOSkP3Dbb2C0/1kFpM=; b=NRrui0GILKh4khSEOoxk7RFZhj1NWEv2c2SOiFQqcO35cDnok62jmJk3GNIMldiMme ODqCzqd/2pMI77bHc0/pyTzuwhEWsC/xMdBTDSh1kdDsNf/R5bPSfYIV4uMPVu+auOhW +Hdlk2+9lw/Y9xh4YpyfvcZw2i/91SAUnc1h8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724752573; x=1725357373; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3/5VBNfYAsqRzbHrubk/0yjXqiOSkP3Dbb2C0/1kFpM=; b=jr6D/nBvjzfWYCo3UyYkE4ZeL066mTOdNxSlLuQNDipXz58dxVZ/NWDvXSJ7RJm75Z TEq6fHGr4G/QKMO9uTPGAUI4t+RBo2jZqFIuqJvuBleZnu4Yg6XoomgbgLkeopvSSp+r xvdjQc0bA9Jsv+nFD/BiaRxqVpt7pRkSdzfv6NrvziIyev708ASkTUChcoh4BJqE5Pfv fPuA7Spgc6QLBnncnFJE9MUf+S+4WGzW+FqoxlCm8eV7HBhmBiYZOKyYg2BoObELUiKm vk4xpntZK0cIWoAfe8tvxryBKEb3zfEgDfOezU9lk/gKyYVWGBRRGxUAwmNijcIi38hV X45w== X-Forwarded-Encrypted: i=1; AJvYcCXSTTiOnhzuAMbAjD+MdNzbHYk4BuqWl0T4PEib4h7CYd489xrVGswxL0h+Mi709GJmw4bkPO4moTH+yXKuQDc6@lists.infradead.org X-Gm-Message-State: AOJu0YweTv0+zxnyUrFfIFbWTrqALvVTx1TkQEO/Z/N8K7A6NJhyLywr 9yDcD4ntaxVClrzdaX9fKZfSJrk7iAYQSGUpG9x9dcnUCOGHZYUgZVo427Vxiw== X-Google-Smtp-Source: AGHT+IGK0iObEbnV0ut5x5siCGHthaaUKI10Pjne/4Dtm0WJAt/GcXg1cPDu6YGnkB3ody3D/pB6Pg== X-Received: by 2002:a17:903:11c7:b0:202:4d05:a24a with SMTP id d9443c01a7336-204df13ee41mr24113125ad.16.1724752572692; Tue, 27 Aug 2024 02:56:12 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:3102:657e:87f4:c646]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2038560c2basm80006775ad.222.2024.08.27.02.56.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2024 02:56:12 -0700 (PDT) From: Chen-Yu Tsai To: Mark Brown , Liam Girdwood Cc: Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Shevchenko Subject: [PATCH 8/8] regulator: irq_helpers: Add missing "Return" kerneldoc section Date: Tue, 27 Aug 2024 17:55:48 +0800 Message-ID: <20240827095550.675018-9-wenst@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240827095550.675018-1-wenst@chromium.org> References: <20240827095550.675018-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_025614_211256_13FD4BE3 X-CRM114-Status: GOOD ( 11.48 ) 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 kernel-doc complains about missing "Return" section for the function regulator_irq_map_event_simple(). Add a "Return" section for it based on its behavior. Signed-off-by: Chen-Yu Tsai Reviewed-by: Matti Vaittinen --- drivers/regulator/irq_helpers.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/regulator/irq_helpers.c b/drivers/regulator/irq_helpers.c index 5ab1a0befe12..5803ef016b7d 100644 --- a/drivers/regulator/irq_helpers.c +++ b/drivers/regulator/irq_helpers.c @@ -414,6 +414,10 @@ EXPORT_SYMBOL_GPL(regulator_irq_helper_cancel); * notification helperk. Exactly one rdev and exactly one error (in * "common_errs"-field) can be given at IRQ helper registration for * regulator_irq_map_event_simple() to be viable. + * + * Return: 0 + * + * Actual regulator error and notification are passed back through @rid. */ int regulator_irq_map_event_simple(int irq, struct regulator_irq_data *rid, unsigned long *dev_mask)