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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,