Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3541550imu; Fri, 30 Nov 2018 01:58:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/WJHkNDcYIDcp7TIPPdclbdJNqVfH8v2Ylu5MjZhauY0lP2UyqemqXA1EcsbGYe2rIu6K0c X-Received: by 2002:a17:902:2c03:: with SMTP id m3mr5218873plb.125.1543571924740; Fri, 30 Nov 2018 01:58:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543571924; cv=none; d=google.com; s=arc-20160816; b=xsLBmC+SeRleDfghXWJVXdL6i/bO1VLbhQn2SNzy0RyQGP7X/mQdrltYd7VT2NTGpH +bezoX/7Z6/pfEWlzHCIcHVAy2Q7XFC9dEcJhMMYQoGXEF+pMXr+V6bUwRm8V37+/3LS zOi6lZoIocvMw3Nv4g7FDGSNnmZdwfn/x+4V/39h0jD2dBWKC7z2LEeHDg8ERd+1x2kg yxcckh4BzpNYK9Ta9Zuwb+xj8XB+2SpAi6MXBw3XyXqCbYWXMEH0U9LVfAECr/486tqn GsFrvAqM7y4KewNZQN+CYZTYGncc5VCoAdQompHjXqot5Iu01X3oQGEWG4Fa1oLCpqbP I+FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=rFLenU5Bnol5C53mz4koYdjQqaL/JuwVL3/t9TN9z8g=; b=zOhaw25terkI8JDOhUI41RoBdOUOH3xh6uMCp4OZEDGJTNv7UO30B7NfHPKqAEtY5/ j6R4JTk0UM2pw3kF1fqq8SJVBkErPbOjTTOUStt9jlLXk25msA09zwn0TKpGApkUAo1u bCln1B7MmTgRdg1KqqJpzObviKUAC+vIsUogwxaLNziDs/K9q2xMa45Bo/ureYzFatkW Iyintx8T7MrfLPYsg41HqEuQoIZyf6n5YYJHi+oWZjmjvNIThDSV5vf1dJbvYGrR1Uy0 caZzkVBxjEcI5aRN+vgpG1QrqrlrOFa81bfCBaMUjHOig323Oq5rjj5d6H4lm6dW3RCI Un1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si4881876plb.35.2018.11.30.01.58.30; Fri, 30 Nov 2018 01:58:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727141AbeK3VFM convert rfc822-to-8bit (ORCPT + 99 others); Fri, 30 Nov 2018 16:05:12 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:47640 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727035AbeK3VFL (ORCPT ); Fri, 30 Nov 2018 16:05:11 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id wAU9sFSK007736; Fri, 30 Nov 2018 10:55:54 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2nxw03163e-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 30 Nov 2018 10:55:54 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 99D33586; Fri, 30 Nov 2018 10:55:22 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1436C289F; Fri, 30 Nov 2018 09:55:52 +0000 (GMT) Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 30 Nov 2018 10:55:51 +0100 Received: from SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6]) by SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6%20]) with mapi id 15.00.1347.000; Fri, 30 Nov 2018 10:55:51 +0100 From: Pascal PAILLET-LME To: "dmitry.torokhov@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "lee.jones@linaro.org" , "lgirdwood@gmail.com" , "broonie@kernel.org" , "wim@linux-watchdog.org" , "linux@roeck-us.net" , "linux-input@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" , "benjamin.gaignard@linaro.org" , "eballetbo@gmail.com" , "axel.lin@ingics.com" CC: Pascal PAILLET-LME Subject: [PATCH v7 7/7] regulator: stpmic1: fix regulator_lock usage Thread-Topic: [PATCH v7 7/7] regulator: stpmic1: fix regulator_lock usage Thread-Index: AQHUiJLg8qmy8yA/8kuv2m2omb36Ug== Date: Fri, 30 Nov 2018 09:55:51 +0000 Message-ID: <1543571742-17995-8-git-send-email-p.paillet@st.com> References: <1543571742-17995-1-git-send-email-p.paillet@st.com> In-Reply-To: <1543571742-17995-1-git-send-email-p.paillet@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.47] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-30_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix a compilation issue due to regulator_lock usage. Signed-off-by: Pascal Paillet --- changes in v7: * new patch due to rebase on regul/for-next drivers/regulator/stpmic1_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c index eac0848..16ba029 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, -- 1.9.1