Skip to contentSkip to conversation

regulator: act8865: Remove set_suspend_[en|dis]able implementation

PATCH Applied Axel Lin 2 participants 2 messages Dec 25, 2013 – Dec 30, 2013 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: act8865: Remove set_suspend_[en|dis]able implementation

There is no suspend enable/disable settings mentioned in datasheet, so just don't implement .set_suspend_[en|dis]able callbacks.

---
 drivers/regulator/act8865-regulator.c | 2 --
 1 file changed, 2 deletions(-)
drivers/regulator/act8865-regulator.c +0 -2
index dfae294..e7dbdc0 100644
@@ -85,8 +85,6 @@ static struct regulator_ops act8865_ops = {
 	.enable			= regulator_enable_regmap,
 	.disable		= regulator_disable_regmap,
 	.is_enabled		= regulator_is_enabled_regmap,
-	.set_suspend_enable	= regulator_enable_regmap,
-	.set_suspend_disable	= regulator_disable_regmap,
 };
 
 static const struct regulator_desc act8865_reg[] = {
Signature · 1 line
1.8.1.2
maintainer Applied
#1 lore raw
Quoted 2 lines · Axel Lin

There is no suspend enable/disable settings mentioned in datasheet, so just don't implement .set_suspend_[en|dis]able callbacks.

Applied, thanks.