From: Axel Lin Date: Tue, 17 Apr 2012 15:48:27 +0000 (+0800) Subject: regulator: max8997: Remove is_enabled callback implementation for max8997_charger_fix... X-Git-Tag: v3.5-rc1~177^2~57^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c245c087c50eabe284b22f7d5a8abc12427d29a7;p=pandora-kernel.git regulator: max8997: Remove is_enabled callback implementation for max8997_charger_fixedstate_ops If is_enabled callback is not implemented, the core assumes that the regulator is on. This is simpler than having a hack to retrun 1 in max8997_reg_is_enabled() if max8997_get_enable_register() returns -EINVAL. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed