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
pgpPvHqnv6Mb9.pgp
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot