Skip to content

Commit

Permalink
collie_battery: Get rid of irq_to_gpio usage
Browse files Browse the repository at this point in the history
Since 9d08d5d, 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>
  • Loading branch information
Jochen Friedrich authored and Anton Vorontsov committed Nov 24, 2011
1 parent caca6a0 commit 629bcb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/collie_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 629bcb4

Please sign in to comment.