Re: [RFC][PATCH] regulator: Fix _regulator_get_voltage ifget_voltage callback is NULL
From: Mark Brown
Date: Wed May 18 2011 - 12:32:10 EST
On Wed, May 18, 2011 at 09:01:58PM +0800, Axel Lin wrote:
> @@ -1886,13 +1886,15 @@ static int _regulator_get_voltage(struct regulator_dev *rdev)
> if (sel < 0)
> return sel;
> ret = rdev->desc->ops->list_voltage(rdev, sel);
> + goto out;
> }
Why are you adding this goto? It's not going to change anything...
--
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/