summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2012-03-02 16:57:44 +0400
committerHaojian Zhuang <haojian.zhuang@gmail.com>2012-03-07 05:48:58 +0400
commit8a16a701ad787b6db2949766341c5ad1b551de9f (patch)
tree374ff010e91020fdf8197b9320d72790a5b9a3de /include/linux/regulator
parent6967cca8b431a181d3a02eee81f0c9f8b5e9e75a (diff)
downloadlinux-8a16a701ad787b6db2949766341c5ad1b551de9f.tar.xz
regulator: Remove bq24022 regulator driver
The bq24022 driver is just a specialised form of a gpio-regulator. As all former users of it now use the gpio-regulator directly, there is no need to keep it around. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/bq24022.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/regulator/bq24022.h b/include/linux/regulator/bq24022.h
deleted file mode 100644
index a6d014005d49..000000000000
--- a/include/linux/regulator/bq24022.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Support for TI bq24022 (bqTINY-II) Dual Input (USB/AC Adpater)
- * 1-Cell Li-Ion Charger connected via GPIOs.
- *
- * Copyright (c) 2008 Philipp Zabel
- *
- * 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.
- *
- */
-
-struct regulator_init_data;
-
-/**
- * bq24022_mach_info - platform data for bq24022
- * @gpio_nce: GPIO line connected to the nCE pin, used to enable / disable charging
- * @gpio_iset2: GPIO line connected to the ISET2 pin, used to limit charging current to 100 mA / 500 mA
- */
-struct bq24022_mach_info {
- int gpio_nce;
- int gpio_iset2;
- struct regulator_init_data *init_data;
-};