summaryrefslogtreecommitdiff
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-15 19:09:09 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-17 18:46:37 +0100
commitd8493d210b69b2965236a8a02f5f6e2835ad5e30 (patch)
treef40b1c116700eb9c77c6112cb14e81d500eee375 /drivers/regulator/core.c
parent9152c36a3b37a95c1161508dc105719456d7f7d0 (diff)
downloadlinux-3.10-d8493d210b69b2965236a8a02f5f6e2835ad5e30.tar.gz
linux-3.10-d8493d210b69b2965236a8a02f5f6e2835ad5e30.tar.bz2
linux-3.10-d8493d210b69b2965236a8a02f5f6e2835ad5e30.zip
regulator: core: Actually use the data in _notifier_call_chain()
Reported-by: Pankaj Jangra <jangra.pankaj9@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 3cbe3129ed3..52a9bae1039 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -2657,7 +2657,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);
}
/**