
11 Jun
2017
11 Jun
'17
5:47 a.m.
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!