From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 50BD0C433E2 for ; Wed, 9 Sep 2020 16:58:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 127D82087C for ; Wed, 9 Sep 2020 16:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599670729; bh=YznwoAMP11ute83m7OlNbCadCCFTa7nZRYUzZoy7TCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nA5VGkJ4P3Swg93GzlDReXFDKQLbbIQNnfqOmAUFS/HHMBOaWoMTwupCvh1aj8KZg X3pj4NC0TXwc7tQSf/AFYiyNR81PmI4h/Ynser1++hbp2F4W5nvOdjKOA3WzZCWzQV cYnyxbuIdRgr8JsJblAorZvtuFCs/ImwM2DoT9nk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731170AbgIIQ6r (ORCPT ); Wed, 9 Sep 2020 12:58:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:51922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730676AbgIIPvT (ORCPT ); Wed, 9 Sep 2020 11:51:19 -0400 Received: from mail.kernel.org (ip5f5ad5d6.dynamic.kabel-deutschland.de [95.90.213.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A636822249; Wed, 9 Sep 2020 14:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599660665; bh=YznwoAMP11ute83m7OlNbCadCCFTa7nZRYUzZoy7TCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xtDo9Ro3Ps9MJFixX5H2KfNEYv9BCBtYbJb6zx9yY9OXHm4CGET2NCoejwQQPKTQz Cttv8p+5iCB26t/VigupJZ8c/dF7hvpcRTpXJHvY8KI4yj6Np5RfoX0BYl0C7OUAix nWfmn1LEKgBUX7MJRv80qS6C2rK6aC7tb3/kN1Ik= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kG0oR-00DUXj-PI; Wed, 09 Sep 2020 16:11:03 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH 26/30] iio: iio.h: fix a warning at the kernel-doc markup Date: Wed, 9 Sep 2020 16:10:57 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There's a warning at iio.h kernel-doc markup: ./include/linux/iio/iio.h:644: WARNING: Unknown target name: "devm". Because it is using {devm_}foo notation. Well, this is not a valid kernel-doc notation. Also, it prevents creating hyperlinks to other documentation functions. So, replace it to a better notation. Signed-off-by: Mauro Carvalho Chehab --- include/linux/iio/iio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index e2df67a3b9ab..f1daaba9e706 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -641,7 +641,7 @@ static inline struct iio_dev *iio_device_get(struct iio_dev *indio_dev) * * This utility must be called between IIO device allocation * (via devm_iio_device_alloc()) & IIO device registration - * (via {devm_}iio_device_register()). + * (via iio_device_register() and devm_iio_device_register())). * By default, the device allocation will also assign a parent device to * the IIO device object. In cases where devm_iio_device_alloc() is used, * sometimes the parent device must be different than the device used to -- 2.26.2