regulator: tps65917/palmas: Add bypass ops for LDOs with bypass capability
authorKeerthy <j-keerthy@ti.com>
Mon, 14 Dec 2015 06:36:55 +0000 (12:06 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 16 Dec 2015 19:22:42 +0000 (19:22 +0000)
commitb554e1450658039df28486f19216d6962d29dba6
treeb042c7f0e9d88ce7eae17944a11d67e25c95706a
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
regulator: tps65917/palmas: Add bypass ops for LDOs with bypass capability

set/get_bypass ops were missing for ldo1/ldo2 on tps65917 and
ldo9 on palmas/tps659038 which support bypass mode.
Adding the bypass ops helps consumers configure these ldos in
bypass mode or remove bypass mode if need be.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reported-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/palmas-regulator.c