Messages in this thread | | | From | Mariusz Kozlowski <> | Subject | Re: [PATCH 4/4] Voltage and current regulator framework | Date | Fri, 15 Feb 2008 17:39:56 +0100 |
| |
Hello,
> Regulator framework core :-
[ ... snip ... ]
> +void regulator_put(struct regulator *regulator) > +{ > + struct regulator_cdev *rcdev = regulator->rcdev; > + > + if (regulator == NULL || IS_ERR(regulator)) > + return;
Check after use.
Regards,
Mariusz
| |