From: Pascal PAILLET-LME Date: Fri, 30 Nov 2018 09:55:51 +0000 (+0000) Subject: regulator: stpmic1: fix regulator_lock usage X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=db6e6244cb714029959f26caa58522e3c20d4c61;p=openwrt%2Fstaging%2Fblogic.git regulator: stpmic1: fix regulator_lock usage fix a compilation issue due to regulator_lock usage. Signed-off-by: Pascal Paillet Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c index eac0848a78c7..16ba0297f709 100644 --- a/drivers/regulator/stpmic1_regulator.c +++ b/drivers/regulator/stpmic1_regulator.c @@ -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,