From: Axel Lin Date: Tue, 12 Jun 2012 08:34:55 +0000 (+0800) Subject: regulator: wm8400: Use wm8400_ldo_list_voltage instead of open code to verify selecte... X-Git-Tag: v3.6-rc1~157^2^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38c20eb23fb7b5505ac80595f18f4209abc19cd3;p=pandora-kernel.git regulator: wm8400: Use wm8400_ldo_list_voltage instead of open code to verify selected voltage Call wm8400_ldo_list_voltage() instead of open code to verify selected voltage falls within specified range. Use wm8400_ldo_list_voltage() here is less error prone. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed