Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4568255pxk; Wed, 30 Sep 2020 06:27:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwde0CVV9B8XD/9mQaAOT7MHF6gBYlBewJFO9WghVVw1j+SP3fxCTptdKWkY9GbAAN8eBUo X-Received: by 2002:a17:906:c957:: with SMTP id fw23mr2736498ejb.510.1601472441813; Wed, 30 Sep 2020 06:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601472441; cv=none; d=google.com; s=arc-20160816; b=yU0fjfxE7ex2Sr9LfsoBGcMNF5Ma/AxLFzWhwuaPRiNagNafnIjUWABQyzAB1SrTza 1BXiF08NoXtVN02hrSccDa6H/VpL9z3y4yWapLJlNRVyKfqBqN0V+LYtXwad01aJEOfD EoJlwi4GXlP7AQ+D5SIdTzdX6sqk+wWni5JL6ggNcis97Ww8UdF8OsIIOO4ocqd5+Ood su7Eteb5ViO9WkHwCPQfKJv5abzZ4FwzMyl4N+Qk8vbsq0YP/B7oxy9mzD2gz5F9wwdd 6V3ERcou40KJsKcsxALC/HkuX9Tvt/sF3OT5/WWjXyAeDzpdBIBoDD45z5XzYHV/w2sd 2D5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fO8Ly+aa6oEV0Mj0RRiQxVwaO4gCTWjnzCUMwdviiA4=; b=pMf/dxuvgSIBBxHcQRD05tUrvAeABoggvpmwUpNuhNnKSCH4ijR4xBPc6mwr6T3iOa ozSJeFxKFl622ASVYILGiyDbkFu1BPke4caSm9ccHnUN0vjUnUhSrwuYj4LPl8o2rO4W NgYQTMNCqzyJvS0l5JclhquRMNBcIyIQmOmLbqXN5KEumM3NxuV43qSOTcIZhrMSyzbe xl4l8vtYNsgPhYbMcJwCqXx8LEv2BEru0N3LnTMXxbeXHFJozepLhEebgq1mZVu81ffV zCjUm555kxwPJjLV8gWbToch27XFOk1/SRXCLXDlWtGmsnbd90wKC75CzIVbAR49aBvr RxfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U2pIBGrD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nq4si1313843ejb.569.2020.09.30.06.26.59; Wed, 30 Sep 2020 06:27:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U2pIBGrD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730378AbgI3NZg (ORCPT + 99 others); Wed, 30 Sep 2020 09:25:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:39354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730234AbgI3NZW (ORCPT ); Wed, 30 Sep 2020 09:25:22 -0400 Received: from mail.kernel.org (unknown [95.90.213.196]) (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 08547238E3; Wed, 30 Sep 2020 13:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601472321; bh=qT/A26fuPrUppSrq5X7zh15zn0if/FmwFXCD56QtXLM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U2pIBGrDANM5Hk1NnHYRQqWk3D1c402TUOE4+2JzayfX3M7FBCaG7fW2bdCfuvZH8 v066DljnSS5W23vbw1NnndTrj6jnrVKbV/Ugt4aYW9WlJXMNQvTNz9p0Fd4IGxQHmR ZndztyQvMEFv3qDCkAW2gZX0rvl5MqKQdkisKkFc= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kNc6g-001XK5-TY; Wed, 30 Sep 2020 15:25:18 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , "rd.dunlab@gmail.com" , Harald Seiler , Heikki Krogerus , Jaroslav Kysela , Jason Gunthorpe , Kuninori Morimoto , Leonard Crestez , Mark Brown , Michael Walle , Pragat Pandya , Randy Dunlap , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 28/52] docs: remove sound API duplication Date: Wed, 30 Sep 2020 15:24:51 +0200 Message-Id: <3556fe29bfa0e71c8da26e2d228a021a10ba62e1.1601467849.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The sound API is documented on two different parts: under Documentation/driver-api/sound.rst and under Documentation/sound/kernel-api/alsa-driver-api.rst. The alsa-driver-api.rst seems more complete, and APIs are split per type. There's just one missing kernel-doc markup there. Add it and drop the duplicated one. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/index.rst | 1 - Documentation/driver-api/sound.rst | 54 ------------------- .../sound/kernel-api/alsa-driver-api.rst | 1 + 3 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 Documentation/driver-api/sound.rst diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst index 6e7c702e0268..987d6e74ea6a 100644 --- a/Documentation/driver-api/index.rst +++ b/Documentation/driver-api/index.rst @@ -27,7 +27,6 @@ available subsections can be seen below. component message-based infiniband - sound frame-buffer regulator iio/index diff --git a/Documentation/driver-api/sound.rst b/Documentation/driver-api/sound.rst deleted file mode 100644 index afef6eabc073..000000000000 --- a/Documentation/driver-api/sound.rst +++ /dev/null @@ -1,54 +0,0 @@ -Sound Devices -============= - -.. kernel-doc:: include/sound/core.h - :internal: - -.. kernel-doc:: sound/sound_core.c - :export: - -.. kernel-doc:: include/sound/pcm.h - :internal: - -.. kernel-doc:: sound/core/pcm.c - :export: - -.. kernel-doc:: sound/core/device.c - :export: - -.. kernel-doc:: sound/core/info.c - :export: - -.. kernel-doc:: sound/core/rawmidi.c - :export: - -.. kernel-doc:: sound/core/sound.c - :export: - -.. kernel-doc:: sound/core/memory.c - :export: - -.. kernel-doc:: sound/core/pcm_memory.c - :export: - -.. kernel-doc:: sound/core/init.c - :export: - -.. kernel-doc:: sound/core/isadma.c - :export: - -.. kernel-doc:: sound/core/control.c - :export: - -.. kernel-doc:: sound/core/pcm_lib.c - :export: - -.. kernel-doc:: sound/core/hwdep.c - :export: - -.. kernel-doc:: sound/core/pcm_native.c - :export: - -.. kernel-doc:: sound/core/memalloc.c - :export: - diff --git a/Documentation/sound/kernel-api/alsa-driver-api.rst b/Documentation/sound/kernel-api/alsa-driver-api.rst index c8cc651eccf7..d24c64df7069 100644 --- a/Documentation/sound/kernel-api/alsa-driver-api.rst +++ b/Documentation/sound/kernel-api/alsa-driver-api.rst @@ -132,3 +132,4 @@ ISA DMA Helpers Other Helper Macros ------------------- .. kernel-doc:: include/sound/core.h +.. kernel-doc:: sound/sound_core.c -- 2.26.2