提交 d8493d21 编写于 作者: M Mark Brown

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

Reported-by: NPankaj Jangra <jangra.pankaj9@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 9152c36a
......@@ -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);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册