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

Reported-by: Pankaj Jangra <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 3cbe3129..52a9bae 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -2657,7 +2657,7 @@
 				  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);
 }
 
 /**