Skip to contentSkip to conversation

gpio: ep93xx: remove usless pr_err message

PATCH New H Hartley Sweeten 1 participant 1 message Aug 9, 2011 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: ep93xx: remove usless pr_err message

All the IRQ_TYPE_* options are handled so the pr_err message is not really necessary, remove it.

Also, since this was the only pr_* use in the file, remove the pr_fmt.

---

drivers/gpio/gpio-ep93xx.c +0 -3
index 468b27d..b229a29 100644
@@ -12,8 +12,6 @@
  *  published by the Free Software Foundation.
  */
 
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
@@ -209,7 +207,6 @@ static int ep93xx_gpio_irq_type(struct irq_data *d, unsigned int type)
 		handler = handle_edge_irq;
 		break;
 	default:
-		pr_err("failed to set irq type %d for gpio %d\n", type, gpio);
 		return -EINVAL;
 	}