]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: ralink: rt2880: delete not needed error message
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 Dec 2020 16:17:18 +0000 (17:17 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Jan 2021 14:38:34 +0000 (15:38 +0100)
commit420cf17d975d93973ba80807ea49760ba14feaa9
tree36627484927d0ca97bb36ea301c913e333de2830
parent09f8101d319a42164b3d1270d2ccbdc156db806a
pinctrl: ralink: rt2880: delete not needed error message

When '-ENOMEM' is returned there is not need at all to
add custom error messages. Hence delete it.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201213161721.6514-6-sergio.paracuellos@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/ralink/pinctrl-rt2880.c