
17 Nov
2014
17 Nov
'14
11:04 a.m.
On Wed, Nov 12, 2014 at 06:26:51PM -0700, Simon Glass wrote: [...]
diff --git a/drivers/power/as3722.c b/drivers/power/as3722.c
[...]
+int as3722_init(struct udevice **devp) +{
- struct udevice *pmic;
- u8 id, revision;
- int bus = 0;
- int address = 0x40;
Is there a reason for bus and address to not be unsigned? I also take it that the plan is to eventually query these from the udevice/DT once I2C has been converted to DM?
Thierry