All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: twl: Remove TWL6030_FIXED_RESOURCE
@ 2013-02-16  2:53 Axel Lin
  2013-03-01  8:13 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-02-16  2:53 UTC (permalink / raw)
  To: Mark Brown; +Cc: Tero Kristo, Aaro Koskinen, Liam Girdwood, linux-kernel

TWL6030_FIXED_RESOURCE is not used now, remove it.

TWL6030_FIXED_RESOURCE is not used since commit e76ab829cc
"regulator: twl: Remove references to the twl4030 regulator"

twl6030_fixed_resource is removed by commit 029dd3cef
"regulator: twl: Remove another unused variable warning".

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

diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 2b3dc5b..611e73e 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -936,19 +936,6 @@ static const struct twlreg_info TWLFIXED_INFO_##label = { \
 		}, \
 	}
 
-#define TWL6030_FIXED_RESOURCE(label, offset, turnon_delay) \
-static struct twlreg_info TWLRES_INFO_##label = { \
-	.base = offset, \
-	.desc = { \
-		.name = #label, \
-		.id = TWL6030_REG_##label, \
-		.ops = &twl6030_fixed_resource, \
-		.type = REGULATOR_VOLTAGE, \
-		.owner = THIS_MODULE, \
-		.enable_time = turnon_delay, \
-		}, \
-	}
-
 #define TWL6025_ADJUSTABLE_SMPS(label, offset) \
 static const struct twlreg_info TWLSMPS_INFO_##label = { \
 	.base = offset, \
-- 
1.7.9.5




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

* Re: [PATCH] regulator: twl: Remove TWL6030_FIXED_RESOURCE
  2013-02-16  2:53 [PATCH] regulator: twl: Remove TWL6030_FIXED_RESOURCE Axel Lin
@ 2013-03-01  8:13 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-03-01  8:13 UTC (permalink / raw)
  To: Axel Lin; +Cc: Tero Kristo, Aaro Koskinen, Liam Girdwood, linux-kernel

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

On Sat, Feb 16, 2013 at 10:53:49AM +0800, Axel Lin wrote:
> TWL6030_FIXED_RESOURCE is not used now, remove it.
> 
> TWL6030_FIXED_RESOURCE is not used since commit e76ab829cc
> "regulator: twl: Remove references to the twl4030 regulator"

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-03-01  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-16  2:53 [PATCH] regulator: twl: Remove TWL6030_FIXED_RESOURCE Axel Lin
2013-03-01  8:13 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.