summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorEnrico Weigelt <info@metux.net>2019-07-03 11:42:24 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-07-03 14:34:49 +0200
commit4d19addd6b2fdf825978bc76c83356709c175611 (patch)
tree5554452ae17e2b8d007236fa4ac9da731ff4b088 /drivers/gpio
parent2617790f0f94422d9773a3f34c694bc3be09ce8b (diff)
downloadlinux-4d19addd6b2fdf825978bc76c83356709c175611.tar.gz
linux-4d19addd6b2fdf825978bc76c83356709c175611.tar.bz2
linux-4d19addd6b2fdf825978bc76c83356709c175611.zip
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-pl061.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
index 84af248f5172..83a44dd183b8 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -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;
}