On Saturday 10 June 2017 02:59 AM, Nishanth Menon wrote: > On 06/07/2017 08:38 AM, Keerthy wrote: > >> +static bool buck_get_enable(struct udevice *dev) >> +{ >> + bool enable = false; >> + int ret; >> + >> + >> + ret = lp87565_buck_enable(dev, PMIC_OP_GET, &enable); >> + if (ret) >> + return ret; > > Somehow does'nt look right, why return int for a bool function? return > false perhaps?
Sure. Will fix this. Thanks for catching it Nishanth! > > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot