linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: sa1100: collie: Remove irq_to_gpio from power driver
@ 2011-11-19 18:26 Jochen Friedrich
  2011-11-24 22:22 ` Anton Vorontsov
  0 siblings, 1 reply; 2+ messages in thread
From: Jochen Friedrich @ 2011-11-19 18:26 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 drivers/power/collie_battery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c
index 548d263..7a40fce 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;
 }
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: sa1100: collie: Remove irq_to_gpio from power driver
  2011-11-19 18:26 [PATCH] ARM: sa1100: collie: Remove irq_to_gpio from power driver Jochen Friedrich
@ 2011-11-24 22:22 ` Anton Vorontsov
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Vorontsov @ 2011-11-24 22:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Nov 19, 2011 at 07:26:37PM +0100, Jochen Friedrich wrote:
> 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>
> ---

Applied to battery-urgent.git, thanks!

-- 
Anton Vorontsov
Email: cbouatmailru at gmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-24 22:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-19 18:26 [PATCH] ARM: sa1100: collie: Remove irq_to_gpio from power driver Jochen Friedrich
2011-11-24 22:22 ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).