[PATCH 02/35] mfd: ab8500-gpadc: Allow tvout regulator to be missing

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Feb 20 08:23:21 EST 2013


On Fri, Feb 15, 2013 at 12:56:33PM +0000, Lee Jones wrote:

> +	if (gpadc->regu)
> +		regulator_disable(gpadc->regu);

No explanation for this in the changelog and missing error handling like
this is pretty much always terrible style.  Why are we doing this?



More information about the linux-arm-kernel mailing list