Re: [PATCH 4/4] Voltage and current regulator framework
From: Mariusz Kozlowski
Date: Fri Feb 15 2008 - 11:40:31 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/