summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-18 08:25:27 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-26 12:50:33 +0200
commite2eb169b1bc207dd1a79109d85b098b241be2e9b (patch)
tree6740f455fc512e8588fa8d78e12803a1ac0f0040 /drivers/nfc
parentregulator: arizona-micsupp: Fix choosing selector in arizona_micsupp_map_voltage (diff)
downloadlinux-e2eb169b1bc207dd1a79109d85b098b241be2e9b.tar.xz
linux-e2eb169b1bc207dd1a79109d85b098b241be2e9b.zip
regulator: s5m8767: Convert to regulator_list_voltage_linear
In current code, .list_voltage and .set_voltage_sel callbacks for BUCK7 and BUCK8 return -EINVAL. This patch adds s5m8767_buck78_ops for BUCK7 and BUCK8 which does not set .list_voltage, .get_voltage_sel and .set_voltage_sel. ( This has the same effect of returning -EINVAL in the callbacks) Then for all the users of s5m8767_list_voltage, we don't need to worry about the case reg_voltage_map[reg_id] is NULL. So we can convert s5m8767_list_voltage to regulator_list_voltage_linear. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions