mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
pinctrl: pinmux: Remove duplicate error message in pin_request()
Detailed error message is already printed at the end of the function, so drop redundant one a few lines earlier. Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20230909063613.2867-2-jernej.skrabec@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
70a3894c0a
commit
c9336ebe87
@ -173,10 +173,8 @@ static int pin_request(struct pinctrl_dev *pctldev,
|
||||
else
|
||||
status = 0;
|
||||
|
||||
if (status) {
|
||||
dev_err(pctldev->dev, "request() failed for pin %d\n", pin);
|
||||
if (status)
|
||||
module_put(pctldev->owner);
|
||||
}
|
||||
|
||||
out_free_pin:
|
||||
if (status) {
|
||||
|
Loading…
Reference in New Issue
Block a user