gpio: gpiolib: fix a doc warning
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Mar 2020 14:54:21 +0000 (15:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Mar 2020 19:25:14 +0000 (20:25 +0100)
commit35c6cfb4340c199974f06a36670f7d1e9d32e1c7
tree7993e9cec0c3cfe659c21045224b0d0c8d1c8b6d
parentffa91e7ca1426a89eec1b3101286d82785760767
gpio: gpiolib: fix a doc warning

Use a different markup for the ERR_PTR, as %FOO doesn't work
if there are parenthesis. So, use, instead:

``ERR_PTR(-EINVAL)``

This fixes the following warning:

./drivers/gpio/gpiolib.c:139: WARNING: Inline literal start-string without end-string.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/51197e3568f073e22c280f0584bfa20b44436708.1584456635.git.mchehab+huawei@kernel.org
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c