Commit db6e6244 authored by Pascal PAILLET-LME's avatar Pascal PAILLET-LME Committed by Mark Brown

regulator: stpmic1: fix regulator_lock usage

fix a compilation issue due to regulator_lock usage.
Signed-off-by: default avatarPascal Paillet <p.paillet@st.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent fa94e48e
......@@ -489,7 +489,7 @@ static irqreturn_t stpmic1_curlim_irq_handler(int irq, void *data)
{
struct regulator_dev *rdev = (struct regulator_dev *)data;
regulator_lock(rdev, NULL);
regulator_lock(rdev);
/* Send an overcurrent notification */
regulator_notifier_call_chain(rdev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment