projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
power: pmic: add pfuze3000 support
[oweals/u-boot.git]
/
drivers
/
power
/
pmic
/
pmic_pfuze100.c
diff --git
a/drivers/power/pmic/pmic_pfuze100.c
b/drivers/power/pmic/pmic_pfuze100.c
index 22c1f15eeb4008acc93546efaff26815d050136a..259b349da7a125e58f1031c78328a8a2ea57cdb0 100644
(file)
--- a/
drivers/power/pmic/pmic_pfuze100.c
+++ b/
drivers/power/pmic/pmic_pfuze100.c
@@
-11,9
+11,9
@@
#include <power/pmic.h>
#include <power/pfuze100_pmic.h>
#include <power/pmic.h>
#include <power/pfuze100_pmic.h>
-int p
mic
_init(unsigned char bus)
+int p
ower_pfuze100
_init(unsigned char bus)
{
{
- static const char name[] = "PFUZE100
_PMIC
";
+ static const char name[] = "PFUZE100";
struct pmic *p = pmic_alloc();
if (!p) {
struct pmic *p = pmic_alloc();
if (!p) {
@@
-23,7
+23,7
@@
int pmic_init(unsigned char bus)
p->name = name;
p->interface = PMIC_I2C;
p->name = name;
p->interface = PMIC_I2C;
- p->number_of_regs = P
MIC
_NUM_OF_REGS;
+ p->number_of_regs = P
FUZE100
_NUM_OF_REGS;
p->hw.i2c.addr = CONFIG_POWER_PFUZE100_I2C_ADDR;
p->hw.i2c.tx_num = 1;
p->bus = bus;
p->hw.i2c.addr = CONFIG_POWER_PFUZE100_I2C_ADDR;
p->hw.i2c.tx_num = 1;
p->bus = bus;