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 <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Acked-by: GUAN Xuetao <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
Andrew F. Davis 2015-09-22 14:35:06 -05:00 • committed by Sebastian Reichel
commit 081bab217d
8 changed files with 187 additions and 186 deletions

View file

@ -15,7 +15,7 @@
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/mutex.h>
#include <linux/power/bq27x00_battery.h>
#include <linux/power/bq27xxx_battery.h>
#include "../w1.h"
#include "../w1_int.h"
@ -39,7 +39,7 @@ static int w1_bq27000_read(struct device *dev, unsigned int reg)
return val;
}
static struct bq27000_platform_data bq27000_battery_info = {
static struct bq27xxx_platform_data bq27000_battery_info = {
.read = w1_bq27000_read,
.name = "bq27000-battery",
};