mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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:
parent
95b8aff2a6
commit
081bab217d
8 changed files with 187 additions and 186 deletions
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue