projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pmic: tps65090: correct checking i2c bus
[platform/kernel/u-boot.git]
/
drivers
/
power
/
pmic
/
pmic_tps65090.c
diff --git
a/drivers/power/pmic/pmic_tps65090.c
b/drivers/power/pmic/pmic_tps65090.c
index
c5b3966
..
337903a
100644
(file)
--- a/
drivers/power/pmic/pmic_tps65090.c
+++ b/
drivers/power/pmic/pmic_tps65090.c
@@
-285,7
+285,7
@@
int tps65090_init(void)
}
bus = i2c_get_bus_num_fdt(parent);
- if (
p->
bus < 0) {
+ if (bus < 0) {
debug("%s: Cannot find I2C bus\n", __func__);
return -ENOENT;
}