diff mbox series

Drivers: GPIO: Fix printk() warning style

Message ID 1513772213-30026-1-git-send-email-venkat.prashanth2498@gmail.com
State New
Headers show
Series Drivers: GPIO: Fix printk() warning style | expand

Commit Message

venkat.prashanth2498@gmail.com Dec. 20, 2017, 12:16 p.m. UTC
From: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>

Replace printk(KERN_INFO...) by pr_info for more uniform reporting
of debug information. Issue found by checkpatch.

Signed-off-by: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
 drivers/gpio/gpio-amd8111.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series


diff --git a/drivers/gpio/gpio-amd8111.c b/drivers/gpio/gpio-amd8111.c
index d00d819..4d72300 100644
--- a/drivers/gpio/gpio-amd8111.c
+++ b/drivers/gpio/gpio-amd8111.c
@@ -224,10 +224,10 @@  found:


-	printk(KERN_INFO "AMD-8111 GPIO detected\n");
+	pr_info("AMD-8111 GPIO detected\n");
 	err = gpiochip_add(&gp.chip);
 	if (err) {
-		printk(KERN_ERR "GPIO registering failed (%d)\n",
+		pr_info("GPIO registering failed (%d)\n",
 		release_region(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE);