From: Axel Lin Date: Wed, 20 Jun 2012 14:32:08 +0000 (+0800) Subject: regulator: tps6524x: Convert fixed ilimsel to table based X-Git-Tag: v3.6-rc1~157^2^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e12dfc9681fed46fbc9fffc6aba9613908c1213;p=pandora-kernel.git regulator: tps6524x: Convert fixed ilimsel to table based This patch refactors the code to get rid of the fixed_ilimsel and FIXED_ILIMSEL flag usage, and convert all the fixed ilimsel to table based (with one entry in the table). We can differentiate fixed ilimsel by checking info->n_ilimsels == 1, thus FIXED_ILIMSEL flag can be removed. This change makes the logic of the code simpler as all the ilimsels are table based now. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed