docs: writing-an-alsa-driver.rst: fix some bad c:func: markups
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 29 Sep 2020 08:54:36 +0000 (10:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 15 Oct 2020 05:49:43 +0000 (07:49 +0200)
commit4d9d18ad669170eb97606bcbe832517495737c57
tree06a7d74f57e39729024a5ca8e996612945656ed7
parent8ac867340bd8cc8c65d4cafbf634873b8ddcf3f7
docs: writing-an-alsa-driver.rst: fix some bad c:func: markups

Some such markups are invalid, as reported by Sphinx:

./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3317: WARNING: Unparseable C cross-reference: 'snd_rawmidi_transmit*'
Invalid C declaration: Expected end of definition. [error at 20]
  snd_rawmidi_transmit*
  --------------------^
./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3917: WARNING: Unparseable C cross-reference: 'copy_from/to_user'
Invalid C declaration: Expected end of definition. [error at 9]
  copy_from/to_user
  ---------^

The first case seems to be better replaced by a literal.

For the second one, let's generate cross-references, by
spliting it in two.

Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/sound/kernel-api/writing-an-alsa-driver.rst