projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: sandbox: pch: Add a CONFIG option for PCH
[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..c646a0c31f82243c2655e49cf6c6b1378ce42359 100644
(file)
--- a/
drivers/power/pmic/pmic_pfuze100.c
+++ b/
drivers/power/pmic/pmic_pfuze100.c
@@
-1,8
+1,7
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2014 Gateworks Corporation
* Tim Harvey <tharvey@gateworks.com>
/*
* Copyright (C) 2014 Gateworks Corporation
* Tim Harvey <tharvey@gateworks.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-11,9
+10,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
+22,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;