lkml.org 
[lkml]   [2013]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] regulator: da9063: Optimize da9063_set_current_limit implementation
On Fri, Aug 30, 2013 at 08:07:38PM +0800, Axel Lin wrote:
> All the current limit tables have the values in ascend order.
> So we can slightly optimize the for loop iteration because the first match
> is the minimal value.

Applied both, thanks.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-08-30 17:01    [W:0.157 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site