summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-03-21 11:13:27 -0700
committerGrant Likely <grant.likely@secretlab.ca>2012-03-25 21:25:56 -0700
commitc77c8a6fd3d57b586ff5ecb5ab5b32ca4f54fe75 (patch)
treeb679d557b1047c6333c5fe0f5a87aedd7f654514 /drivers/gpio
parent8194c7c4d5ea14d819bb2eab6a23b07331b734d8 (diff)
downloadlinux-3.10-c77c8a6fd3d57b586ff5ecb5ab5b32ca4f54fe75.tar.gz
linux-3.10-c77c8a6fd3d57b586ff5ecb5ab5b32ca4f54fe75.tar.bz2
linux-3.10-c77c8a6fd3d57b586ff5ecb5ab5b32ca4f54fe75.zip
gpio/ep93xx: Remove unused inline function and useless pr_err message
Minor removal of an unused inline function and a useless pr_err message. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-ep93xx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c
index 1c0fc3756cb..6a89683fdc9 100644
--- a/drivers/gpio/gpio-ep93xx.c
+++ b/drivers/gpio/gpio-ep93xx.c
@@ -12,8 +12,6 @@
* published by the Free Software Foundation.
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
@@ -65,11 +63,6 @@ static void ep93xx_gpio_update_int_params(unsigned port)
EP93XX_GPIO_REG(int_en_register_offset[port]));
}
-static inline void ep93xx_gpio_int_mask(unsigned line)
-{
- gpio_int_unmasked[line >> 3] &= ~(1 << (line & 7));
-}
-
static void ep93xx_gpio_int_debounce(unsigned int irq, bool enable)
{
int line = irq_to_gpio(irq);
@@ -212,7 +205,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;
}