[PATCH 02/35] mfd: ab8500-gpadc: Allow tvout regulator to be missing
Lee Jones
lee.jones at linaro.org
Wed Feb 20 11:38:56 EST 2013
On Wed, 20 Feb 2013, Mark Brown wrote:
> 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?
No idea, and Jonas is on parental leave.
Perhaps one of the other guys have an explanation?
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the linux-arm-kernel
mailing list