1
0
Fork 0

gpio: pl061: drop duplicate printing of device name

The dev_info() call already prints the device name, so there's
no need to explicitly include it in the message for second time.

Signed-off-by: Enrico Weigelt <info@metux.net>
Link: https://lore.kernel.org/r/1562146944-4162-1-git-send-email-info@metux.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
alistair/sunxi64-5.4-dsi
Enrico Weigelt 2019-07-03 11:42:24 +02:00 committed by Linus Walleij
parent 2617790f0f
commit 4d19addd6b
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ static int pl061_probe(struct amba_device *adev, const struct amba_id *id)
return ret;
amba_set_drvdata(adev, pl061);
dev_info(dev, "PL061 GPIO chip %s registered\n", dev_name(dev));
dev_info(dev, "PL061 GPIO chip registered\n");
return 0;
}