OSDN Git Service

iio: iio.h: fix a warning at the kernel-doc markup
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 9 Sep 2020 14:10:57 +0000 (16:10 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 11 Sep 2020 15:39:57 +0000 (09:39 -0600)
commit78ff97ebd4e9d02a99ca894b643c78c8fda7df5d
tree9ed5fe36e0e50b077c945f9fd6461126448f5443
parent5ff4aa70bf347e13ec87697b1c732ce86060c47d
iio: iio.h: fix a warning at the kernel-doc markup

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 <mchehab+huawei@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/d8f2275c438c459ede4e6fba03ce719cc6ad898b.1599660067.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
include/linux/iio/iio.h