aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/power/bq27xxx_battery.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/power/bq27xxx_battery.h b/include/linux/power/bq27xxx_battery.h
index 11e11685dd1d..89890437f9ab 100644
--- a/include/linux/power/bq27xxx_battery.h
+++ b/include/linux/power/bq27xxx_battery.h
@@ -20,23 +20,6 @@ enum bq27xxx_chip {
20 BQ27421, /* bq27421, bq27425, bq27441, bq27621 */ 20 BQ27421, /* bq27421, bq27425, bq27441, bq27621 */
21}; 21};
22 22
23/**
24 * struct bq27xxx_plaform_data - Platform data for bq27xxx devices
25 * @name: Name of the battery.
26 * @chip: Chip class number of this device.
27 * @read: HDQ read callback.
28 * This function should provide access to the HDQ bus the battery is
29 * connected to.
30 * The first parameter is a pointer to the battery device, the second the
31 * register to be read. The return value should either be the content of
32 * the passed register or an error value.
33 */
34struct bq27xxx_platform_data {
35 const char *name;
36 enum bq27xxx_chip chip;
37 int (*read)(struct device *dev, unsigned int);
38};
39
40struct bq27xxx_device_info; 23struct bq27xxx_device_info;
41struct bq27xxx_access_methods { 24struct bq27xxx_access_methods {
42 int (*read)(struct bq27xxx_device_info *di, u8 reg, bool single); 25 int (*read)(struct bq27xxx_device_info *di, u8 reg, bool single);