Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 629bcb4b authored by Jochen Friedrich's avatar Jochen Friedrich Committed by Anton Vorontsov
Browse files

collie_battery: Get rid of irq_to_gpio usage



Since 9d08d5d7, 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: default avatarJochen Friedrich <jochen@scram.de>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent caca6a03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}