]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
gpio: pl061: drop duplicate printing of device name
authorEnrico Weigelt <info@metux.net>
Wed, 3 Jul 2019 09:42:24 +0000 (11:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jul 2019 12:34:49 +0000 (14:34 +0200)
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>
drivers/gpio/gpio-pl061.c

index 84af248f517279fda5293e1495eb2821bad40876..83a44dd183b82162ef7ae3a2e0438737e1b3707c 100644 (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;
 }