mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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>
This commit is contained in:
parent
fa94e48e13
commit
db6e6244cb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user