diff options
author | Andrew F. Davis <afd@ti.com> | 2015-09-22 22:35:06 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-09-23 17:16:22 +0300 |
commit | 081bab217db769526c1202c87099ff69737126ae (patch) | |
tree | 99509361f6a0c657a5ab7ba780d657f5b5fb920c /include/linux/power | |
parent | 95b8aff2a6e5616639db06dd37efb36fba188590 (diff) | |
download | linux-081bab217db769526c1202c87099ff69737126ae.tar.xz |
power: bq27x00_battery: Renaming for consistency
Rename functions that are used by multiple devices. New devices
have been added and the function names and driver name are no longer
general enough for the functionality they provide.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: GUAN Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include/linux/power')
-rw-r--r-- | include/linux/power/bq27xxx_battery.h (renamed from include/linux/power/bq27x00_battery.h) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/power/bq27x00_battery.h b/include/linux/power/bq27xxx_battery.h index a857f719bf40..e70a93a6799f 100644 --- a/include/linux/power/bq27x00_battery.h +++ b/include/linux/power/bq27xxx_battery.h @@ -2,7 +2,7 @@ #define __LINUX_BQ27X00_BATTERY_H__ /** - * struct bq27000_plaform_data - Platform data for bq27000 devices + * struct bq27xxx_plaform_data - Platform data for bq27xxx devices * @name: Name of the battery. If NULL the driver will fallback to "bq27000". * @read: HDQ read callback. * This function should provide access to the HDQ bus the battery is @@ -11,7 +11,7 @@ * register to be read. The return value should either be the content of * the passed register or an error value. */ -struct bq27000_platform_data { +struct bq27xxx_platform_data { const char *name; int (*read)(struct device *dev, unsigned int); }; |