All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: tps6586x: Remove unused to_tps6586x_dev() function
@ 2014-05-27  8:43 Axel Lin
  2014-05-27 11:05 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2014-05-27  8:43 UTC (permalink / raw)
  To: Mark Brown
  Cc: Alban Bedel, Stefan Agner, Mike Rapoport, Liam Girdwood,
	linux-kernel

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

diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c
index e045b7f..0a3bb3a 100644
--- a/drivers/regulator/tps6586x-regulator.c
+++ b/drivers/regulator/tps6586x-regulator.c
@@ -63,11 +63,6 @@ struct tps6586x_regulator {
 	int enable_reg[2];
 };
 
-static inline struct device *to_tps6586x_dev(struct regulator_dev *rdev)
-{
-	return rdev_get_dev(rdev)->parent;
-}
-
 static struct regulator_ops tps6586x_rw_regulator_ops = {
 	.list_voltage = regulator_list_voltage_table,
 	.map_voltage = regulator_map_voltage_ascend,
-- 
1.8.3.2




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

* Re: [PATCH] regulator: tps6586x: Remove unused to_tps6586x_dev() function
  2014-05-27  8:43 [PATCH] regulator: tps6586x: Remove unused to_tps6586x_dev() function Axel Lin
@ 2014-05-27 11:05 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-05-27 11:05 UTC (permalink / raw)
  To: Axel Lin
  Cc: Alban Bedel, Stefan Agner, Mike Rapoport, Liam Girdwood,
	linux-kernel

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

On Tue, May 27, 2014 at 04:43:00PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

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:[~2014-05-27 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27  8:43 [PATCH] regulator: tps6586x: Remove unused to_tps6586x_dev() function Axel Lin
2014-05-27 11:05 ` 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.