public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFT] regulator: act8865: Remove set_suspend_[en|dis]able implementation
@ 2013-12-25  4:37 Axel Lin
  2013-12-30 12:01 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-12-25  4:37 UTC (permalink / raw)
  To: Mark Brown; +Cc: Wenyou Yang, Liam Girdwood, linux-kernel

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

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/act8865-regulator.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c
index dfae294..e7dbdc0 100644
--- a/drivers/regulator/act8865-regulator.c
+++ b/drivers/regulator/act8865-regulator.c
@@ -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[] = {
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RFT] regulator: act8865: Remove set_suspend_[en|dis]able implementation
  2013-12-25  4:37 [PATCH RFT] regulator: act8865: Remove set_suspend_[en|dis]able implementation Axel Lin
@ 2013-12-30 12:01 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-12-30 12:01 UTC (permalink / raw)
  To: Axel Lin; +Cc: Wenyou Yang, Liam Girdwood, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

On Wed, Dec 25, 2013 at 12:37:58PM +0800, Axel Lin wrote:
> There is no suspend enable/disable settings mentioned in datasheet,
> so just don't implement .set_suspend_[en|dis]able callbacks.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-30 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-25  4:37 [PATCH RFT] regulator: act8865: Remove set_suspend_[en|dis]able implementation Axel Lin
2013-12-30 12:01 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox