mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: max77693: Add missing .owner field in regulator_desc
@ 2013-12-24 13:37 Axel Lin
  2013-12-24 13:45 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-12-24 13:37 UTC (permalink / raw)
  To: Mark Brown; +Cc: Jonghwa Lee, Liam Girdwood, linux-kernel

Add missing .owner field in regulator_desc, which is used for refcounting.

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

diff --git a/drivers/regulator/max77693.c b/drivers/regulator/max77693.c
index feb20bf..5fb899f 100644
--- a/drivers/regulator/max77693.c
+++ b/drivers/regulator/max77693.c
@@ -138,6 +138,7 @@ static struct regulator_ops max77693_charger_ops = {
 	.n_voltages	= 4,					\
 	.ops		= &max77693_safeout_ops,		\
 	.type		= REGULATOR_VOLTAGE,			\
+	.owner		= THIS_MODULE,				\
 	.volt_table	= max77693_safeout_table,		\
 	.vsel_reg	= MAX77693_CHG_REG_SAFEOUT_CTRL,	\
 	.vsel_mask	= SAFEOUT_CTRL_SAFEOUT##_num##_MASK,	\
-- 
1.8.1.2




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

* Re: [PATCH] regulator: max77693: Add missing .owner field in regulator_desc
  2013-12-24 13:37 [PATCH] regulator: max77693: Add missing .owner field in regulator_desc Axel Lin
@ 2013-12-24 13:45 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-12-24 13:45 UTC (permalink / raw)
  To: Axel Lin; +Cc: Jonghwa Lee, Liam Girdwood, linux-kernel

On Tue, Dec 24, 2013 at 09:37:50PM +0800, Axel Lin wrote:
> Add missing .owner field in regulator_desc, which is used for refcounting.

Applied, thanks.

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

end of thread, other threads:[~2013-12-24 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-24 13:37 [PATCH] regulator: max77693: Add missing .owner field in regulator_desc Axel Lin
2013-12-24 13:45 ` Mark Brown

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

all inboxes | Powered by JetHome®