Skip to contentSkip to conversation

regulator: core: Actually use the data in _notifier_call_chain()

PATCH New Mark Brown 1 participant 1 message Jun 15, 2012 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: core: Actually use the data in _notifier_call_chain()

---
 drivers/regulator/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/core.c +1 -1
index a2c5cfb..770f08e 100644
@@ -2690,7 +2690,7 @@ static void _notifier_call_chain(struct regulator_dev *rdev,
 				  unsigned long event, void *data)
 {
 	/* call rdev chain first */
-	blocking_notifier_call_chain(&rdev->notifier, event, NULL);
+	blocking_notifier_call_chain(&rdev->notifier, event, data);
 }
 
 /**
Signature · 1 line
1.7.10