lkml.org 
[lkml]   [2011]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] regulator: Fix _regulator_get_voltage if get_voltage callback is NULL
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...


\
 
 \ /
  Last update: 2011-05-18 18:35    [W:0.058 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site