Re: [RFC][PATCH] regulator: Fix _regulator_get_voltage ifget_voltage callback is NULL

From: Mark Brown
Date: Thu May 19 2011 - 17:08:16 EST


On Thu, May 19, 2011 at 05:58:06PM +0800, Axel Lin wrote:

> I'm thinking maybe you prefer changes like below:
> How do you think?

Yes, something like that. The goto is obscure and hard to read.
--
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/