summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2011-11-19 19:26:37 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-11-25 02:20:57 +0400
commit629bcb4b72d49b3631ae3dd0fe1d345820fadfcc (patch)
treedc3115244e9ee4ffb2cc192e19911abccd58bed3 /drivers/power
parentcaca6a03d365883564885f2c1da3e88dcf65d139 (diff)
downloadlinux-629bcb4b72d49b3631ae3dd0fe1d345820fadfcc.tar.bz2
collie_battery: Get rid of irq_to_gpio usage
Since 9d08d5d77a355510c2f5657c86b0a4b25acfe72c, irq_to_gpio() is no longer available but still in use by collie_battery.c. As it's just for a debug message, just get rid of this call. Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/collie_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c
index 548d263b1ad0..7a40fce4c3cf 100644
--- a/drivers/power/collie_battery.c
+++ b/drivers/power/collie_battery.c
@@ -146,7 +146,7 @@ static void collie_bat_external_power_changed(struct power_supply *psy)
static irqreturn_t collie_bat_gpio_isr(int irq, void *data)
{
- pr_info("collie_bat_gpio irq: %d\n", gpio_get_value(irq_to_gpio(irq)));
+ pr_info("collie_bat_gpio irq\n");
schedule_work(&bat_work);
return IRQ_HANDLED;
}