summaryrefslogtreecommitdiff
path: root/include/linux/power
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-03-22 15:55:30 +0100
committerSebastian Reichel <sre@kernel.org>2017-04-14 01:41:34 +0200
commit01c0e0a28da749e80cb7d549f75a5f52e2f40d0e (patch)
tree5e82e0a71ac57b5d173de33f288ed2fa3727f652 /include/linux/power
parentb98074e2adc21b52b59e2c7889f58d0c9f6fd8e5 (diff)
downloadlwn-01c0e0a28da749e80cb7d549f75a5f52e2f40d0e.tar.gz
lwn-01c0e0a28da749e80cb7d549f75a5f52e2f40d0e.zip
power: supply: bq24190_charger: Use i2c-core irq-mapping code
The i2c-core already maps of irqs before calling the driver's probe function and there are no in tree users of bq24190_platform_data->gpio_int. Remove the redundant custom irq-mapping code and just use client->irq. Cc: Liam Breck <kernel@networkimprov.net> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include/linux/power')
-rw-r--r--include/linux/power/bq24190_charger.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/power/bq24190_charger.h b/include/linux/power/bq24190_charger.h
deleted file mode 100644
index 9f0283721cbc..000000000000
--- a/include/linux/power/bq24190_charger.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Platform data for the TI bq24190 battery charger driver.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _BQ24190_CHARGER_H_
-#define _BQ24190_CHARGER_H_
-
-struct bq24190_platform_data {
- unsigned int gpio_int; /* GPIO pin that's connected to INT# */
-};
-
-#endif