From: Axel Lin Date: Sun, 7 Apr 2013 15:15:24 +0000 (+0800) Subject: regulator: ab8500-ext: Remove unnecessary checking for ab9540 and ab8540 X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~25^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcbba9de0f66d30621a489dc8af07350f8d477fd;p=pandora-kernel.git regulator: ab8500-ext: Remove unnecessary checking for ab9540 and ab8540 This code was added by commit 0fe17e20a6 "regulator: ab8500-ext: Add support for AB9540 regulators" and commit bd44e2cb "regulator: ab8500: Also check for AB8505 based platforms" The original patch[1] is to set info->desc.ops = &ab9540_ext_regulator_ops. However, ab9540_ext_regulator_ops is identical to ab8500_ext_regulator_ops[2]. Thus we can complete remove the unnecessary checking for ab9540 and ab8540. [1] https://lkml.org/lkml/2013/3/28/333 [2] https://lkml.org/lkml/2013/4/1/178 Signed-off-by: Axel Lin Acked-by: Lee Jones Signed-off-by: Mark Brown --- Reading git-diff-tree failed