summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8998.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-17 23:48:27 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-23 13:20:24 +0100
commitc245c087c50eabe284b22f7d5a8abc12427d29a7 (patch)
tree1572f5b272cec44a50268cdd35d140206d52bdf7 /drivers/regulator/max8998.c
parent94e85a3c5d702a4ce96b7a9b883c949a08ebd93c (diff)
downloadlinux-stable-c245c087c50eabe284b22f7d5a8abc12427d29a7.tar.gz
linux-stable-c245c087c50eabe284b22f7d5a8abc12427d29a7.tar.bz2
linux-stable-c245c087c50eabe284b22f7d5a8abc12427d29a7.zip
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 <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/max8998.c')
0 files changed, 0 insertions, 0 deletions