summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorPascal PAILLET-LME <p.paillet@st.com>2018-11-30 12:55:51 +0300
committerMark Brown <broonie@kernel.org>2018-12-03 14:39:24 +0300
commitdb6e6244cb714029959f26caa58522e3c20d4c61 (patch)
tree19bd659d45d925b2556857958b54444b7315f6bb /drivers/regulator
parentfa94e48e13a1aaf814b9e956d8e5a52ef303b569 (diff)
downloadlinux-db6e6244cb714029959f26caa58522e3c20d4c61.tar.xz
regulator: stpmic1: fix regulator_lock usage
fix a compilation issue due to regulator_lock usage. Signed-off-by: Pascal Paillet <p.paillet@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/stpmic1_regulator.c2
1 files changed, 1 insertions, 1 deletions
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,