mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-17 18:14:34 +08:00
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>
This commit is contained in:
parent
9152c36a3b
commit
d8493d210b
@ -2657,7 +2657,7 @@ static void _notifier_call_chain(struct regulator_dev *rdev,
|
|||||||
unsigned long event, void *data)
|
unsigned long event, void *data)
|
||||||
{
|
{
|
||||||
/* call rdev chain first */
|
/* call rdev chain first */
|
||||||
blocking_notifier_call_chain(&rdev->notifier, event, NULL);
|
blocking_notifier_call_chain(&rdev->notifier, event, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user