From 556dcf903d8a22aa1b3eb743aeffd4849eef2e24 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 30 Aug 2013 20:07:38 +0800 Subject: [PATCH] regulator: da9063: Optimize da9063_set_current_limit implementation 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. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-format-patch failed