summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2011-06-08 16:27:21 +0200
committerLee Jones <lee.jones@linaro.org>2012-01-05 10:06:14 +0000
commit1f9dfb66f9da08cc071ccd5ec493bbce875bbd54 (patch)
treea4943ee6bbe310afde16084bcf0bee5eb41ad8ec /include
parent0e81aa1cfeac196016e93e5d6b9869bedb57ed93 (diff)
power: remove charger from ab8500 struct
The pointer to the charger from the ab8500 struct is no longer needed. ST-Ericsson ID: 256401 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Change-Id: Iec4d4fb69c54366f96283ab1e676a874637550f0 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24710 Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/ab8500.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mfd/ab8500.h b/include/linux/mfd/ab8500.h
index 6219e1139e8..8f66bd52679 100644
--- a/include/linux/mfd/ab8500.h
+++ b/include/linux/mfd/ab8500.h
@@ -139,9 +139,6 @@
#define AB8500_NR_IRQS 112
#define AB8500_NUM_IRQ_REGS 14
-/* Forward declaration */
-struct ab8500_charger;
-
/**
* struct ab8500 - ab8500 internal structure
* @dev: parent device
@@ -155,7 +152,6 @@ struct ab8500_charger;
* @tx_buf: tx buf for SPI
* @mask: cache of IRQ regs for bus lock
* @oldmask: cache of previous IRQ regs for bus lock
- * @charger: pointer to the charger driver device information.
*/
struct ab8500 {
struct device *dev;
@@ -173,8 +169,6 @@ struct ab8500 {
u8 mask[AB8500_NUM_IRQ_REGS];
u8 oldmask[AB8500_NUM_IRQ_REGS];
-
- struct ab8500_charger *charger;
};
struct regulator_reg_init;